Home
last modified time | relevance | path

Searched refs:declStmt (Results 1 – 5 of 5) 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/ASTMatchers/
DASTMatchersTest.cpp3391 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/
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.cpp160 REGISTER_MATCHER(declStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h888 DeclStmt> declStmt; variable