Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp40 return functionDecl(hasName("::testing::internal::CmpHelperNE")); in getComparisonDecl()
42 return functionDecl(hasName("::testing::internal::CmpHelperGE")); in getComparisonDecl()
44 return functionDecl(hasName("::testing::internal::CmpHelperGT")); in getComparisonDecl()
46 return functionDecl(hasName("::testing::internal::CmpHelperLE")); in getComparisonDecl()
48 return functionDecl(hasName("::testing::internal::CmpHelperLT")); in getComparisonDecl()
134 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
155 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
166 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
181 callee(functionDecl(hasName(("gmock_" + MockMethodName).str())))), in gtestCallInternal()
H A DASTMatchersInternal.cpp837 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
/freebsd/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.cpp108 return callee(functionDecl(hasAnyName(toRefs(FunctionNames)))); in callsNames()
226 functionDecl(HasParamAndWritesInMarkedFuncM), in checkASTCodeBody()
H A DRunLoopAutoreleaseLeakChecker.cpp143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()
182 DeclarationMatcher GroupM = functionDecl( in checkTempObjectsInNoPool()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp540 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
547 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp229 callee(functionDecl(hasAnyName( in isMakeOptionalCall()
286 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
293 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1426 functionDecl;
5192 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
6799 functionDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
6820 functionDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp674 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp268 REGISTER_MATCHER(functionDecl); in RegistryMaps()