================
@@ -332,6 +345,14 @@ class UncheckedCallArgsChecker final : public 
RawPtrRefCallArgsChecker {
     return isUncheckedPtr(QT);
   }
 
+  bool isSafePtr(const CXXRecordDecl *Record) const final {
+    return isRefCounted(Record) || isCheckedPtr(Record);
+  }
+
+  bool isSafePtrType(const QualType type) const final {
+    return isRefOrCheckedPtrType(type);
+  }
+
----------------
rniwa wrote:

Are you fine with pure virtual in the base class? Or do you think we should 
move one of the implementation to the base?

https://github.com/llvm/llvm-project/pull/127554
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to