Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp45 return functionDecl(hasName("::testing::internal::CmpHelperNE")); in getComparisonDecl()
47 return functionDecl(hasName("::testing::internal::CmpHelperGE")); in getComparisonDecl()
49 return functionDecl(hasName("::testing::internal::CmpHelperGT")); in getComparisonDecl()
51 return functionDecl(hasName("::testing::internal::CmpHelperLE")); in getComparisonDecl()
53 return functionDecl(hasName("::testing::internal::CmpHelperLT")); in getComparisonDecl()
139 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
160 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
171 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
186 callee(functionDecl(hasName(("gmock_" + MockMethodName).str())))), in gtestCallInternal()
H A DASTMatchersInternal.cpp808 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
/freebsd-14.2/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()
H A DPointerSortingChecker.cpp58 return callee(functionDecl(hasName(FunctionName))); in callsName()
H A DGCDAntipatternChecker.cpp56 return callee(functionDecl(hasName(FunctionName))); in callsName()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp538 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
545 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp112 return callExpr(callee(functionDecl(hasAnyName( in isMakeOptionalCall()
167 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
173 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1386 functionDecl;
5078 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
5178 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
6729 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION()
6750 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp607 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp277 unless(callee(functionDecl(hasAttr(attr::UnsafeBufferUsage))))); in isInUnspecifiedPointerContext()
716 return stmt(callExpr(callee(functionDecl(hasAttr(attr::UnsafeBufferUsage)))) in matcher()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp266 REGISTER_MATCHER(functionDecl); in RegistryMaps()