| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SpuriouslyWakeUpFunctionsCheck.cpp | 63 unless(hasDescendant(mapAnyOf(ifStmt, whileStmt, forStmt, doStmt) in registerMatchers() 71 hasDescendant(mapAnyOf(ifStmt, whileStmt, forStmt, doStmt) in registerMatchers() 73 hasParent(mapAnyOf(whileStmt, forStmt, doStmt)), in registerMatchers() 75 hasParent(mapAnyOf(whileStmt, forStmt, doStmt))))))), in registerMatchers()
|
| H A D | TerminatingContinueCheck.cpp | 30 hasAncestor(stmt(anyOf(forStmt(), whileStmt(), cxxForRangeStmt(), in registerMatchers()
|
| H A D | UnusedReturnValueCheck.cpp | 153 auto UnusedInWhileStmt = whileStmt(hasBody(MatchedCallExpr)); in registerMatchers()
|
| H A D | SuspiciousSemicolonCheck.cpp | 27 whileStmt(hasBody(nullStmt().bind("semi"))))) in registerMatchers()
|
| H A D | MultipleStatementMacroCheck.cpp | 62 whileStmt(hasBody(Inner)), forStmt(hasBody(Inner)))) in registerMatchers()
|
| H A D | SuspiciousStringCompareCheck.cpp | 113 stmt(anyOf(mapAnyOf(ifStmt, whileStmt, doStmt, forStmt) in registerMatchers()
|
| H A D | InfiniteLoopCheck.cpp | 156 Finder->addMatcher(mapAnyOf(whileStmt, doStmt, forStmt) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | AvoidGotoCheck.cpp | 32 auto Loop = mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientStringConcatenationCheck.cpp | 62 whileStmt(), forStmt())))), in registerMatchers()
|
| H A D | UnnecessaryValueParamCheck.cpp | 49 whileStmt(), doStmt())))))))), in hasLoopStmtAncestor()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantControlFlowCheck.cpp | 41 mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt) in registerMatchers()
|
| H A D | MisleadingIndentationCheck.cpp | 111 compoundStmt(has(stmt(anyOf(ifStmt(), forStmt(), whileStmt())))) in registerMatchers()
|
| H A D | BracesAroundStatementsCheck.cpp | 109 Finder->addMatcher(whileStmt().bind("while"), this); in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 67 mapAnyOf(ifStmt, doStmt, whileStmt, forStmt, in AST_MATCHER()
|
| H A D | ImplicitBoolConversionCheck.cpp | 290 stmt(anyOf(ifStmt(), whileStmt()), has(declStmt())))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | PreferIsaOrDynCastInConditionalsCheck.cpp | 58 ifStmt(Any), whileStmt(Any), doStmt(Condition), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 34 const auto AnyLoop = anyOf(forStmt(), whileStmt(), doStmt(), CXXForRangeLoop); in registerMatchers()
|
| H A D | IdDependentBackwardBranchCheck.cpp | 76 whileStmt(hasCondition(CondExpr)))) in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 1469 EXPECT_TRUE(notMatches("void x() {}", whileStmt())); in TEST_P() 1470 EXPECT_TRUE(matches("void x() { while(1); }", whileStmt())); in TEST_P() 1471 EXPECT_TRUE(notMatches("void x() { do {} while(1); }", whileStmt())); in TEST_P()
|
| H A D | ASTMatchersTraversalTest.cpp | 2019 whileStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST() 2057 whileStmt(hasBody(compoundStmt())))); in TEST() 4970 forEachDescendant(whileStmt().bind("while"))), in TEST()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 594 REGISTER_MATCHER(whileStmt); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | SourceLocationTest.cpp | 113 whileStmt())); in TEST()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 898 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt; variable
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2167 extern const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;
|