Searched refs:declStmt (Results 1 - 4 of 4) sorted by relevance

/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2983 EXPECT_TRUE(notMatches("void x() {}", declStmt()));
2987 EXPECT_TRUE(matches("void x() { int a; }", declStmt()));
3036 declStmt(hasSingleDecl(varDecl(hasInitializer(anything()))));
3047 declStmt(containsDeclaration(0, MatchesInit))));
3049 declStmt(containsDeclaration(0, MatchesInit),
3053 declStmt(containsDeclaration(WrongIndex,
3059 declStmt(declCountIs(2))));
3061 declStmt(declCountIs(3))));
3063 declStmt(declCountIs(3))));
3139 ifStmt(hasConditionVariableStatement(declStmt()))));
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp136 REGISTER_MATCHER(declStmt);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h623 /// declStmt()
627 DeclStmt> declStmt; member in namespace:clang::ast_matchers
919 /// forStmt(hasLoopInit(declStmt()))
2048 /// declStmt(hasSingleDecl(anything()))
2160 /// declStmt(containsDeclaration(
2163 /// declStmt(containsDeclaration(1, varDecl()))

Completed in 478 milliseconds