Lines Matching refs:functionDecl
396 callExpr(allOf(callee(functionDecl(hasName("f"))),
399 callExpr(allOf(callee(functionDecl(hasName("f"))),
404 callExpr(allOf(callee(functionDecl(hasName("f"))),
410 callExpr(allOf(callee(functionDecl(hasName("f"))),
704 functionDecl(forEachDescendant(
1273 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f"))));
1316 functionDecl(hasName("g"))))))));
1350 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1));
1427 functionDecl(returns(asString("int")))));
1429 functionDecl(returns(asString("float")))));
1431 functionDecl(returns(hasDeclaration(
1436 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC())));
1438 functionDecl(isExternC())));
1439 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC())));
2886 hasTargetDecl(functionDecl())))));
2889 hasTargetDecl(functionDecl())))));
3146 functionDecl(decl().bind("x"), hasAnyParameter(hasName("y"))),
3150 functionDecl(decl().bind("x"),
3157 functionDecl(parameterCountIs(1))))),
3170 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))),
3198 new VerifyIdIsBoundTo<FunctionDecl>("decl", 1)));
3271 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))),
3335 functionDecl(isExplicitTemplateSpecialization())));
3347 functionDecl(isExplicitTemplateSpecialization())));
3357 functionDecl(isExplicitTemplateSpecialization())));
3369 functionDecl(isExplicitTemplateSpecialization())));
3400 integerLiteral(equals(42), hasAncestor(functionDecl(hasName("f"))))));
3431 hasAncestor(functionDecl(hasParameter(
3433 new VerifyIdIsBoundTo<FunctionDecl>("f", "g", 2)));
3480 hasParent(compoundStmt(hasParent(functionDecl(
3487 hasParent(compoundStmt(hasParent(functionDecl(
3494 hasParent(functionDecl(
3496 hasParent(functionDecl(hasParent(recordDecl(
3934 functionDecl(hasName("f"),
3977 functionDecl(hasName("f"),
4180 functionDecl(returns(qualType().bind("type")),
4194 functionDecl(