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.cpp2983 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/
DLibASTMatchersTutorial.rst236 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/
DRegistry.cpp136 REGISTER_MATCHER(declStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h627 DeclStmt> declStmt; variable