Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp46 return functionDecl(hasName("::testing::internal::CmpHelperNE")); in getComparisonDecl()
48 return functionDecl(hasName("::testing::internal::CmpHelperGE")); in getComparisonDecl()
50 return functionDecl(hasName("::testing::internal::CmpHelperGT")); in getComparisonDecl()
52 return functionDecl(hasName("::testing::internal::CmpHelperLE")); in getComparisonDecl()
54 return functionDecl(hasName("::testing::internal::CmpHelperLT")); in getComparisonDecl()
140 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
161 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
172 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
187 callee(functionDecl(hasName(("gmock_" + MockMethodName).str())))), in gtestCallInternal()
H A DASTMatchersInternal.cpp792 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DOSObjectCStyleCast.cpp86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()
95 callee(functionDecl(hasName("allocClassWithName"))), in checkASTCodeBody()
H A DObjCAutoreleaseWriteChecker.cpp106 return callee(functionDecl(hasAnyName(toRefs(FunctionNames)))); in callsNames()
224 functionDecl(HasParamAndWritesInMarkedFuncM), in checkASTCodeBody()
H A DRunLoopAutoreleaseLeakChecker.cpp143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()
182 DeclarationMatcher GroupM = functionDecl( in checkTempObjectsInNoPool()
H A DPointerSortingChecker.cpp58 return callee(functionDecl(hasName(FunctionName))); in callsName()
H A DGCDAntipatternChecker.cpp56 return callee(functionDecl(hasName(FunctionName))); in callsName()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp543 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
550 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1370 functionDecl;
4725 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
4825 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
6286 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION()
6307 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp539 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp252 REGISTER_MATCHER(functionDecl); in RegistryMaps()