Home
last modified time | relevance | path

Searched refs:declStmt (Results 1 – 8 of 8) 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/AST/
DASTImporterTest.cpp275 declStmt( in TEST()
298 declStmt( in TEST()
306 declStmt( in TEST()
373 declStmt( in TEST()
436 declStmt( in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1277 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()
DASTMatchersNarrowingTest.cpp1522 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()
DASTMatchersNodeTest.cpp989 EXPECT_TRUE(notMatches("void x() {}", declStmt())); in TEST()
993 EXPECT_TRUE(matches("void x() { int a; }", declStmt())); in TEST()
/external/clang/docs/
DLibASTMatchersTutorial.rst235 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/
DRegistry.cpp164 REGISTER_MATCHER(declStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h997 DeclStmt> declStmt; variable