================ @@ -53,48 +53,49 @@ hasPublicMethodInBase(const CXXBaseSpecifier *Base, const char *NameToMatch) { return hasPublicMethodInBaseClass(R, NameToMatch) ? R : nullptr; } -std::optional<bool> isRefCountable(const CXXRecordDecl* R) -{ +std::optional<bool> isSmartPtrCompatible(const CXXRecordDecl *R, + const char *IncMethodName, + const char *DecMethodName) { ---------------- haoNoQ wrote:
`StringRef`? Gotta start somewhere. Your static strings are implicitly convertible to that. https://github.com/llvm/llvm-project/pull/108352 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits