Searched refs:statementCountIs (Results 1 – 9 of 9) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1322 compoundStmt(statementCountIs(0)))); in TEST() 1324 compoundStmt(statementCountIs(1)))); in TEST() 1329 compoundStmt(statementCountIs(1)))); in TEST() 1331 compoundStmt(statementCountIs(0)))); in TEST() 1333 compoundStmt(statementCountIs(2)))); in TEST() 1338 compoundStmt(statementCountIs(3)))); in TEST() 1343 compoundStmt(statementCountIs(1)))); in TEST() 1345 compoundStmt(statementCountIs(2)))); in TEST() 1347 compoundStmt(statementCountIs(3)))); in TEST() 1349 compoundStmt(statementCountIs(4)))); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | DeleteNullPointerCheck.cpp | 48 statementCountIs(1)) in registerMatchers()
|
D | SimplifyBooleanExprCheck.cpp | 84 compoundStmt(statementCountIs(1), has(SimpleReturnsBool))); in returnsBool() 490 auto Then = anyOf(SimpleThen, compoundStmt(statementCountIs(1), in matchIfAssignsBool() 495 auto Else = anyOf(SimpleElse, compoundStmt(statementCountIs(1), in matchIfAssignsBool()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 2155 EXPECT_TRUE(matches("void f() { }", compoundStmt(statementCountIs(0)))); in TEST_P() 2156 EXPECT_TRUE(notMatches("void f() {}", compoundStmt(statementCountIs(1)))); in TEST_P() 2160 EXPECT_TRUE(matches("void f() { 1; }", compoundStmt(statementCountIs(1)))); in TEST_P() 2161 EXPECT_TRUE(notMatches("void f() { 1; }", compoundStmt(statementCountIs(0)))); in TEST_P() 2162 EXPECT_TRUE(notMatches("void f() { 1; }", compoundStmt(statementCountIs(2)))); in TEST_P() 2167 matches("void f() { 1; 2; 3; }", compoundStmt(statementCountIs(3)))); in TEST_P() 2172 compoundStmt(statementCountIs(1)))); in TEST_P() 2174 compoundStmt(statementCountIs(2)))); in TEST_P() 2176 compoundStmt(statementCountIs(3)))); in TEST_P() 2178 compoundStmt(statementCountIs(4)))); in TEST_P()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientVectorOperationCheck.cpp | 115 anyOf(compoundStmt(statementCountIs(1), has(AppendCall)), AppendCall)); in AddMatcher()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 384 REGISTER_MATCHER(statementCountIs); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 507 REGISTER_MATCHER(statementCountIs); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3579 AST_MATCHER_P(CompoundStmt, statementCountIs, unsigned, N) { in AST_MATCHER_P() argument
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5086 AST_MATCHER_P(CompoundStmt, statementCountIs, unsigned, N) { in AST_MATCHER_P() argument
|