Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/clang/lib/ASTMatchers/
HDGtestMatchers.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()
HDASTMatchersInternal.cpp808 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDOSObjectCStyleCast.cpp86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()
95 callee(functionDecl(hasName("allocClassWithName"))), in checkASTCodeBody()
HDObjCAutoreleaseWriteChecker.cpp108 return callee(functionDecl(hasAnyName(toRefs(FunctionNames)))); in callsNames()
226 functionDecl(HasParamAndWritesInMarkedFuncM), in checkASTCodeBody()
HDRunLoopAutoreleaseLeakChecker.cpp143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()
182 DeclarationMatcher GroupM = functionDecl( in checkTempObjectsInNoPool()
HDPointerSortingChecker.cpp58 return callee(functionDecl(hasName(FunctionName))); in callsName()
HDGCDAntipatternChecker.cpp56 return callee(functionDecl(hasName(FunctionName))); in callsName()
/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
HDUninitializedObjectChecker.cpp538 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
545 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/freebsd-head/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
HDUncheckedOptionalAccessModel.cpp198 return callExpr(callee(functionDecl(hasAnyName( in isMakeOptionalCall()
253 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
260 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
/freebsd-head/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h1387 functionDecl;
5099 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
5200 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
6753 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION()
6774 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
/freebsd-head/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp623 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
HDUnsafeBufferUsage.cpp294 functionDecl(hasAttr(attr::UnsafeBufferUsage))))); in isInUnspecifiedPointerContext()
943 callee(functionDecl(hasAttr(attr::UnsafeBufferUsage))); in matcher()
/freebsd-head/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp266 REGISTER_MATCHER(functionDecl); in RegistryMaps()