[clang] [llvm] Introduce a new WebKit checker for a unchecked call arguments (#113708) (PR #114522)
Rashmi Mudduluru via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 6 11:20:02 PST 2024
================
@@ -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
More information about the cfe-commits
mailing list