Searched refs:declStmt (Results 1 – 8 of 8) 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/AST/ |
D | ASTImporterTest.cpp | 275 declStmt( in TEST() 298 declStmt( in TEST() 306 declStmt( in TEST() 373 declStmt( in TEST() 436 declStmt( in TEST()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 1277 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST() 1288 declStmt(containsDeclaration(0, MatchesInit)))); in TEST() 1290 declStmt(containsDeclaration(0, MatchesInit), in TEST() 1294 declStmt(containsDeclaration(WrongIndex, in TEST() 1332 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST() 1335 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST() 1341 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST() 1954 "if", stmt(hasDescendant(declStmt().bind("decl"))), "decl"))); in TEST()
|
D | ASTMatchersNarrowingTest.cpp | 1522 declStmt(declCountIs(2)))); in TEST() 1524 declStmt(declCountIs(3)))); in TEST() 1526 declStmt(declCountIs(3)))); in TEST() 1643 declStmt(isInTemplateInstantiation()))); in TEST() 1648 declStmt(isInTemplateInstantiation()))); in TEST() 1665 declStmt(isInTemplateInstantiation()))); in TEST() 1670 declStmt(isInTemplateInstantiation()))); in TEST()
|
D | ASTMatchersNodeTest.cpp | 989 EXPECT_TRUE(notMatches("void x() {}", declStmt())); in TEST() 993 EXPECT_TRUE(matches("void x() { int a; }", declStmt())); in TEST()
|
/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 | 164 REGISTER_MATCHER(declStmt); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 997 DeclStmt> declStmt; variable
|