================
@@ -406,7 +419,7 @@ void ContainerSizeEmptyCheck::check(const 
MatchFinder::MatchResult &Result) {
                               "for emptiness instead of %0");
     if (const auto *SizeMethod =
             Result.Nodes.getNodeAs<NamedDecl>("SizeMethod"))
-      Diag << SizeMethod;
+      Diag << SizeMethod->getDeclName();
----------------
vbvictor wrote:

Is this needed? Otherwise we would print full name or ..? Without it, will we 
print "::std::size"? This is also fine.

https://github.com/llvm/llvm-project/pull/201231
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to