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 | 2983 EXPECT_TRUE(notMatches("void x() {}", declStmt())); in TEST() 2987 EXPECT_TRUE(matches("void x() { int a; }", declStmt())); in TEST() 3036 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST() 3047 declStmt(containsDeclaration(0, MatchesInit)))); in TEST() 3049 declStmt(containsDeclaration(0, MatchesInit), in TEST() 3053 declStmt(containsDeclaration(WrongIndex, in TEST() 3059 declStmt(declCountIs(2)))); in TEST() 3061 declStmt(declCountIs(3)))); in TEST() 3063 declStmt(declCountIs(3)))); in TEST() 3139 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 236 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl())))) 243 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 259 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 278 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl( 481 forStmt(hasLoopInit(declStmt(
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 136 REGISTER_MATCHER(declStmt); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 627 DeclStmt> declStmt; variable
|