[clang] [alpha.webkit.NoUnretainedMemberChecker] Recognize NS_REQUIRES_PROPERTY_DEFINITIONS (PR #141293)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 9 09:32:37 PDT 2025


================
@@ -142,6 +144,8 @@ class RawPtrRefMemberChecker
     if (auto *ID = dyn_cast<ObjCImplementationDecl>(CD)) {
       for (auto *Ivar : ID->ivars())
         visitIvarDecl(CD, Ivar);
+      for (auto *PropImpl : ID->property_impls())
+        visitPropImpl(CD, PropImpl);
----------------
rniwa wrote:

oh, that must be why my warning is emitted in a seemingly wrong place for one of the test cases. Will fix.

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


More information about the cfe-commits mailing list