Searched refs:declStmt (Results 1 – 5 of 5) sorted by relevance
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 43 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/ |
D | ASTMatchersTest.cpp | 2859 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/ |
D | LibASTMatchersTutorial.rst | 232 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/ |
D | Registry.cpp | 242 REGISTER_MATCHER(declStmt); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 584 DeclStmt> declStmt; variable
|