Home
last modified time | relevance | path

Searched refs:hasDeclaration (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DMemoryUnsafeCastChecker.cpp95 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
113 pointee(hasDeclaration(objcInterfaceDecl().bind(BaseNode))))))), in checkASTCodeBody()
114 ignoringImpCasts(hasType(objcObjectPointerType(pointee(hasDeclaration( in checkASTCodeBody()
119 hasDeclaration(decl(cxxRecordDecl().bind(BaseNode))))))), in checkASTCodeBody()
120 hasType(hasUnqualifiedDesugaredType(recordType(hasDeclaration( in checkASTCodeBody()
147 pointee(hasDeclaration(objcInterfaceDecl().bind(FromCastNode))))))), in checkASTCodeBody()
149 pointee(hasDeclaration(objcInterfaceDecl().bind(ToCastNode)))))), in checkASTCodeBody()
152 objcObjectPointerType(pointee(hasDeclaration(objcInterfaceDecl( in checkASTCodeBody()
155 objcObjectPointerType(pointee(hasDeclaration(objcInterfaceDecl( in checkASTCodeBody()
159 hasDeclaration(decl(cxxRecordDecl().bind(FromCastNode))))))), in checkASTCodeBody()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp201 hasDeclaration(anyOf(typedefDecl(hasName("CFNumberRef")), in checkASTCodeBody()
210 recordType(hasDeclaration( in checkASTCodeBody()
223 qualType(hasDeclaration( in checkASTCodeBody()
242 typedefType(hasDeclaration(typedefDecl(hasName("BOOL"))))))) in checkASTCodeBody()
255 unless(elaboratedType(namesType(typedefType(hasDeclaration( in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp423 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation()
457 const auto NotInstantiated = unless(hasDeclaration(isInstantiated())); in findDirectMutation()
611 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()
673 const auto IsInstantiated = hasDeclaration(isInstantiated()); in findFunctionArgMutation()
674 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp127 recordType(hasDeclaration(cxxRecordDecl(optionalClass())))); in desugarsToOptionalType()
132 recordType(hasDeclaration(cxxRecordDecl(optionalOrDerivedClass())))); in desugarsToOptionalOrDerivedType()
251 hasDeclaration(cxxConstructorDecl(parameterCountIs(1), in isOptionalNulloptConstructor()
263 unless(hasDeclaration( in isOptionalValueOrConversionConstructor()
273 unless(hasDeclaration(cxxMethodDecl( in isOptionalValueOrConversionAssignment()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp68 recordType(hasDeclaration(cxxRecordDecl(hasAnyName( in isKnownPointerLikeType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp130 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
H A DBugReporterVisitors.cpp532 objcIvarRefExpr(hasDeclaration(equalsNode(Ivar))).bind(IvarBind)))); in potentiallyWritesIntoIvar()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3746 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
4057 return callExpr(hasDeclaration(InnerMatcher))
4133 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);
4216 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
4277 return references(qualType(hasDeclaration(InnerMatcher)))
5190 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp538 auto FieldAccessM = memberExpr(hasDeclaration(equalsNode(FD))).bind("access"); in hasUnguardedAccess()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp311 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()