Home
last modified time | relevance | path

Searched refs:ClsName (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp109 auto ClsName = safeGetName(Callee->getParent()); in tryToFindPtrOrigin() local
110 if (isRefType(ClsName) || isCheckedPtr(ClsName) || in tryToFindPtrOrigin()
111 isRetainPtr(ClsName) || ClsName == "unique_ptr" || in tryToFindPtrOrigin()
112 ClsName == "UniqueRef" || ClsName == "WeakPtr" || in tryToFindPtrOrigin()
113 ClsName == "WeakRef") { in tryToFindPtrOrigin()
H A DRawPtrRefCallArgsChecker.cpp318 StringRef ClsName = ClsNameStr; // FIXME: Make safeGetName return StringRef. in isMethodOnWTFContainerType() local
332 (ClsName.ends_with("Vector") || ClsName.ends_with("Set") || in isMethodOnWTFContainerType()
333 ClsName.ends_with("Map") || ClsName == "StringImpl" || in isMethodOnWTFContainerType()
334 ClsName.ends_with("String")); in isMethodOnWTFContainerType()
H A DRefCntblBaseVirtualDtorChecker.cpp363 StringRef ClsName = ClsNameStr; // FIXME: Make safeGetName return StringRef. in isRefCountedClass() local
365 (ClsName.ends_with("RefCounted") || in isRefCountedClass()
366 ClsName == "ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr"); in isRefCountedClass()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp902 const IdentifierInfo *ClsName = Cls->getIdentifier(); in isNSStringType() local
905 return ClsName == &Ctx.Idents.get("NSString") || in isNSStringType()
906 ClsName == &Ctx.Idents.get("NSMutableString"); in isNSStringType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp1494 IdentifierInfo *ClsName = Cls->getIdentifier(); in isNSStringType() local
1497 ClsName == &getASTContext().Idents.get("NSAttributedString")) in isNSStringType()
1500 return ClsName == &getASTContext().Idents.get("NSString") || in isNSStringType()
1501 ClsName == &getASTContext().Idents.get("NSMutableString"); in isNSStringType()