================ @@ -55,10 +55,18 @@ bool isCheckedPtr(const clang::CXXRecordDecl *Class); /// not, std::nullopt if inconclusive. std::optional<bool> isUncounted(const clang::QualType T); +/// \returns true if \p Class is CheckedPtr capable AND not checked, false if +/// not, std::nullopt if inconclusive. +std::optional<bool> isUnchecked(const clang::QualType T); ---------------- t-rasmud wrote:
I can't seem to find a reference to this overload of `isUnchecked`. Do you see a use of it in future? https://github.com/llvm/llvm-project/pull/114522 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits