Lines Matching refs:FunctionDecl
82 functionDecl(forEachDescendant(
454 functionDecl(
511 functionDecl(returns(asString("int")))));
513 functionDecl(returns(asString("float")))));
515 functionDecl(returns(hasDeclaration(
1016 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt()))));
1017 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt()))));
1019 functionDecl(hasBody(compoundStmt()))));
1260 hasTargetDecl(functionDecl())))));
1263 hasTargetDecl(functionDecl())))));
1472 functionDecl(decl().bind("x"), hasAnyParameter(hasName("y"))),
1476 functionDecl(decl().bind("x"),
1483 functionDecl(parameterCountIs(1))))),
1496 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))),
1524 llvm::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("decl", 1)));
1583 integerLiteral(equals(42), hasAncestor(functionDecl(hasName("f"))))));
1614 hasAncestor(functionDecl(hasParameter(
1616 llvm::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("f", "g", 2)));
1711 hasParent(compoundStmt(hasParent(functionDecl(
1718 hasParent(compoundStmt(hasParent(functionDecl(hasParent(
1725 allOf(hasParent(functionDecl(hasParent(
1727 hasParent(functionDecl(hasParent(cxxRecordDecl(
1865 functionDecl(hasName("f"),
1908 functionDecl(hasName("f"),