================ @@ -87,6 +92,31 @@ class RawPtrRefMemberChecker } } + void visitObjCDecl(const ObjCContainerDecl *CD) const { + if (auto *ID = dyn_cast<ObjCInterfaceDecl>(CD)) { ---------------- t-rasmud wrote:
Ah ok. I was wondering if we should check for dullness before dereferencing `ID` in the next line `ID->ivars()` https://github.com/llvm/llvm-project/pull/127570 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits