Home
last modified time | relevance | path

Searched refs:isSafePtr (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp21 bool isSafePtr(clang::CXXRecordDecl *Decl) { in isSafePtr() function
27 std::function<bool(const clang::CXXRecordDecl *)> isSafePtr, in tryToFindPtrOrigin() argument
49 if (auto *Class = C->getParent(); Class && isSafePtr(Class)) in tryToFindPtrOrigin()
74 isSafePtr, isSafePtrType, callback) && in tryToFindPtrOrigin()
76 isSafePtr, isSafePtrType, callback); in tryToFindPtrOrigin()
H A DRawPtrRefLocalVarsChecker.cpp180 virtual bool isSafePtr(const CXXRecordDecl *) const = 0;
288 return isSafePtr(Record); in visitVarDecl()
323 (isSafePtr(MaybeGuardianArgCXXRecord) || in visitVarDecl()
397 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon4bbed29c0111::UncountedLocalVarsChecker
414 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon4bbed29c0111::UncheckedLocalVarsChecker
436 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon4bbed29c0111::UnretainedLocalVarsChecker
H A DRawPtrRefCallArgsChecker.cpp46 virtual bool isSafePtr(const CXXRecordDecl *Record) const = 0;
215 [&](const clang::CXXRecordDecl *Record) { return isSafePtr(Record); }, in isPtrOriginSafe()
265 if (isSafePtr(classDecl)) in shouldSkipCall()
413 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon77df98de0111::UncountedCallArgsChecker
438 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon77df98de0111::UncheckedCallArgsChecker
469 bool isSafePtr(const CXXRecordDecl *Record) const final { in isSafePtr() function in __anon77df98de0111::UnretainedCallArgsChecker
H A DASTUtils.h57 std::function<bool(const clang::CXXRecordDecl *)> isSafePtr,