[clang] [llvm] [alpha.webkit.NoUncheckedPtrMemberChecker] Introduce member variable checker for CheckedPtr/CheckedRef (PR #108352)
Ryosuke Niwa via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 23:17:56 PDT 2024
================
@@ -134,10 +137,10 @@ class NoUncountedMemberChecker
Os << " in ";
printQuotedQualifiedName(Os, ClassCXXRD);
Os << " is a "
- << (isa<PointerType>(MemberType) ? "raw pointer" : "reference")
- << " to ref-countable type ";
+ << (isa<PointerType>(MemberType) ? "raw pointer" : "reference") << " to "
+ << typeName() << " ";
printQuotedQualifiedName(Os, MemberCXXRD);
----------------
rniwa wrote:
Hm... looks like `Os << MemberCXXRD` would output MemberCXXRD as a pointer value.
https://github.com/llvm/llvm-project/pull/108352
More information about the llvm-commits
mailing list