Home
last modified time | relevance | path

Searched refs:declStmt (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2859 EXPECT_TRUE(notMatches("void x() {}", declStmt())); in TEST()
2863 EXPECT_TRUE(matches("void x() { int a; }", declStmt())); in TEST()
2903 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST()
2914 declStmt(containsDeclaration(0, MatchesInit)))); in TEST()
2916 declStmt(containsDeclaration(0, MatchesInit), in TEST()
2920 declStmt(containsDeclaration(WrongIndex, in TEST()
2926 declStmt(declCountIs(2)))); in TEST()
2928 declStmt(declCountIs(3)))); in TEST()
2930 declStmt(declCountIs(3)))); in TEST()
3006 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
[all …]
/external/clang/docs/
DLibASTMatchersTutorial.rst232 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
239 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
255 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
274 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
477 forStmt(hasLoopInit(declStmt(
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp242 REGISTER_MATCHER(declStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h584 DeclStmt> declStmt; variable