[clang] [llvm] [alpha.webkit.NoUncheckedPtrMemberChecker] Introduce member variable checker for CheckedPtr/CheckedRef (PR #108352)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 25 14:26:42 PDT 2024


================
@@ -146,13 +149,67 @@ class NoUncountedMemberChecker
     BR->emitReport(std::move(Report));
   }
 };
+
+class NoUncountedMemberChecker final : public RawPtrRefMemberChecker {
----------------
haoNoQ wrote:

Yes this is a perfectly valid way to reuse code here!

https://github.com/llvm/llvm-project/pull/108352


More information about the cfe-commits mailing list