Searched refs:declStmt (Results 1 - 3 of 3) sorted by relevance

/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2468 EXPECT_TRUE(notMatches("void x() {}", declStmt()));
2472 EXPECT_TRUE(matches("void x() { int a; }", declStmt()));
2512 declStmt(hasSingleDecl(varDecl(hasInitializer(anything()))));
2523 declStmt(containsDeclaration(0, MatchesInit))));
2525 declStmt(containsDeclaration(0, MatchesInit),
2529 declStmt(containsDeclaration(WrongIndex,
2535 declStmt(declCountIs(2))));
2537 declStmt(declCountIs(3))));
2539 declStmt(declCountIs(3))));
2567 ifStmt(hasConditionVariableStatement(declStmt()))));
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h461 /// declStmt()
465 DeclStmt> declStmt; member in namespace:clang::ast_matchers
686 /// forStmt(hasLoopInit(declStmt()))
1526 /// declStmt(hasSingleDecl(anything()))
1613 /// declStmt(containsDeclaration(
1616 /// declStmt(containsDeclaration(1, varDecl()))

Completed in 66 milliseconds