Searched refs:functionDecl (Results 1 – 13 of 13) sorted by relevance
45 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()
808 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable
86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()95 callee(functionDecl(hasName("allocClassWithName"))), in checkASTCodeBody()
108 return callee(functionDecl(hasAnyName(toRefs(FunctionNames)))); in callsNames()226 functionDecl(HasParamAndWritesInMarkedFuncM), in checkASTCodeBody()
143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()182 DeclarationMatcher GroupM = functionDecl( in checkTempObjectsInNoPool()
58 return callee(functionDecl(hasName(FunctionName))); in callsName()
56 return callee(functionDecl(hasName(FunctionName))); in callsName()
538 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()545 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
112 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()
1386 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()
607 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
277 unless(callee(functionDecl(hasAttr(attr::UnsafeBufferUsage))))); in isInUnspecifiedPointerContext()716 return stmt(callExpr(callee(functionDecl(hasAttr(attr::UnsafeBufferUsage)))) in matcher()
266 REGISTER_MATCHER(functionDecl); in RegistryMaps()