Home
last modified time | relevance | path

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

/freebsd-src/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-src/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 DRunLoopAutoreleaseLeakChecker.cpp143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()
182 DeclarationMatcher GroupM = functionDecl( in checkTempObjectsInNoPool()
H A DObjCAutoreleaseWriteChecker.cpp108 return callee(functionDecl(hasAnyName(toRefs(FunctionNames)))); in callsNames()
226 functionDecl(HasParamAndWritesInMarkedFuncM), in checkASTCodeBody()
H A DPointerSortingChecker.cpp58 return callee(functionDecl(hasName(FunctionName))); in callsName()
H A DGCDAntipatternChecker.cpp56 return callee(functionDecl(hasName(FunctionName))); in callsName()
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp198 return callExpr(callee(functionDecl(hasAnyName( in isValueOrNotEqX()
253 return callExpr(callee(functionDecl(hasName("std::swap"))),
260 return callExpr(callee(functionDecl(hasName("std::forward"))), in createOptionalValue()
/freebsd-src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h786 /// functionDecl(hasAnyTemplateArgument(refersToType(asString("int"))))
1067 /// functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))
1387 functionDecl;
5099 callExpr(callee(functionDecl(
5200 callExpr(callee(functionDecl(
5294 /// functionDecl(parameterCountIs(2))
5328 /// functionDecl(forEachTemplateArgument(refersToType(builtinType())))
5361 /// functionDecl(isNoReturn())
5392 /// functionDecl(isExternC()) in AST_POLYMORPHIC_MATCHER()
5411 /// functionDecl(isStaticStorageClas
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp623 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp294 functionDecl(hasAttr(attr::UnsafeBufferUsage))))); in isInUnspecifiedPointerContext()
943 callee(functionDecl(hasAttr(attr::UnsafeBufferUsage)));
/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp266 REGISTER_MATCHER(functionDecl); in RegistryMaps()