Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp807 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp541 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
548 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/openbsd-src/gnu/llvm/clang/docs/
H A DClangTransformerTutorial.rst73 makeRule(functionDecl(hasName("MkX").bind("fun"),
79 example, the pattern (``functionDecl(...)``) identifies the declaration of the
100 makeRule(declRefExpr(to(functionDecl(hasName("MkX")))),
284 makeRule(functionDecl(hasName("bad")).bind(f),
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp81 callee(functionDecl(hasAnyName( in isMakeOptionalCall()
147 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1375 functionDecl;
4840 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
4940 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
6480 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION()
6501 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp551 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp258 REGISTER_MATCHER(functionDecl); in RegistryMaps()