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 | 3391 EXPECT_TRUE(notMatches("void x() {}", declStmt())); in TEST() 3395 EXPECT_TRUE(matches("void x() { int a; }", declStmt())); in TEST() 3457 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST() 3468 declStmt(containsDeclaration(0, MatchesInit)))); in TEST() 3470 declStmt(containsDeclaration(0, MatchesInit), in TEST() 3474 declStmt(containsDeclaration(WrongIndex, in TEST() 3480 declStmt(declCountIs(2)))); in TEST() 3482 declStmt(declCountIs(3)))); in TEST() 3484 declStmt(declCountIs(3)))); in TEST() 3569 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl())))) 242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 480 forStmt(hasLoopInit(declStmt(
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 160 REGISTER_MATCHER(declStmt); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 888 DeclStmt> declStmt; variable
|