Home
last modified time | relevance | path

Searched refs:declCountIs (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertCheck.cpp199 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 DRegistry.cpp216 REGISTER_MATCHER(declCountIs); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp2946 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 DASTMatchers.h4466 AST_MATCHER_P(DeclStmt, declCountIs, unsigned, N) { in AST_MATCHER_P() argument