[clang] Check the type of Objective-C++ instance variables in WebKit member variable checkers. (PR #127570)

Rashmi Mudduluru via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 06:57:57 PST 2025


================
@@ -87,6 +92,31 @@ class RawPtrRefMemberChecker
     }
   }
 
+  void visitObjCDecl(const ObjCContainerDecl *CD) const {
+    if (auto *ID = dyn_cast<ObjCInterfaceDecl>(CD)) {
----------------
t-rasmud wrote:

Ah yes, of course! I wasn't reading right.

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


More information about the cfe-commits mailing list