Searched refs:declCountIs (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertCheck.cpp | 199 hasLoopInit(anyOf(declStmt(declCountIs(2), in makeIteratorLoopMatcher() 288 anyOf(declStmt(declCountIs(2), in makePseudoArrayLoopMatcher()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 216 REGISTER_MATCHER(declCountIs); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 2946 EXPECT_TRUE(matches("void f() {int i,j;}", declStmt(declCountIs(2)))); in TEST_P() 2948 notMatches("void f() {int i,j; int k;}", declStmt(declCountIs(3)))); in TEST_P() 2950 notMatches("void f() {int i,j, k, l;}", declStmt(declCountIs(3)))); in TEST_P()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4466 AST_MATCHER_P(DeclStmt, declCountIs, unsigned, N) { in AST_MATCHER_P() argument
|