================
@@ -87,6 +92,31 @@ class RawPtrRefMemberChecker
}
}
+ void visitObjCDecl(const ObjCContainerDecl *CD) const {
+ if (auto *ID = dyn_cast<ObjCInterfaceDecl>(CD)) {
----------------
rniwa wrote:
oh, but this if statement does that already, right? as in, this if will only
evaluate to true if ID wasn't nullptr so I think we have a null check here
already in that regard.
https://github.com/llvm/llvm-project/pull/127570
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits