/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SpuriouslyWakeUpFunctionsCheck.cpp | 66 hasDescendant(whileStmt(hasWaitDescendantCPP)), in registerMatchers() 79 hasDescendant(whileStmt(hasWaitDescendantC)), in registerMatchers() 82 hasParent(whileStmt()), in registerMatchers() 83 hasParent(compoundStmt(hasParent(whileStmt()))), in registerMatchers()
|
D | TerminatingContinueCheck.cpp | 29 continueStmt(hasAncestor(stmt(anyOf(forStmt(), whileStmt(), in registerMatchers()
|
D | UnusedReturnValueCheck.cpp | 154 auto UnusedInWhileStmt = whileStmt(hasBody(MatchedCallExpr)); in registerMatchers()
|
D | SuspiciousSemicolonCheck.cpp | 27 whileStmt(hasBody(nullStmt().bind("semi"))))) in registerMatchers()
|
D | MultipleStatementMacroCheck.cpp | 62 whileStmt(hasBody(Inner)), forStmt(hasBody(Inner)))) in registerMatchers()
|
D | SuspiciousStringCompareCheck.cpp | 117 whileStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
|
D | InfiniteLoopCheck.cpp | 125 Finder->addMatcher(stmt(anyOf(whileStmt(LoopCondition), doStmt(LoopCondition), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | AvoidGotoCheck.cpp | 32 auto Loop = stmt(anyOf(forStmt(), cxxForRangeStmt(), whileStmt(), doStmt())); in registerMatchers() 35 whileStmt(hasAncestor(Loop)), doStmt(hasAncestor(Loop)))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientStringConcatenationCheck.cpp | 62 whileStmt(), forStmt())))), in registerMatchers()
|
D | UnnecessaryValueParamCheck.cpp | 49 whileStmt(), doStmt())))))))), in hasLoopStmtAncestor()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantControlFlowCheck.cpp | 43 stmt(anyOf(forStmt(), cxxForRangeStmt(), whileStmt(), doStmt()), in registerMatchers()
|
D | MisleadingIndentationCheck.cpp | 115 compoundStmt(has(stmt(anyOf(ifStmt(), forStmt(), whileStmt())))) in registerMatchers()
|
D | BracesAroundStatementsCheck.cpp | 130 Finder->addMatcher(whileStmt().bind("while"), this); in registerMatchers()
|
D | ImplicitBoolConversionCheck.cpp | 289 stmt(anyOf(ifStmt(), whileStmt()), has(declStmt())))), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | PreferIsaOrDynCastInConditionalsCheck.cpp | 57 ifStmt(Any), whileStmt(Any), doStmt(Condition), in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1037 EXPECT_TRUE(notMatches("void x() {}", whileStmt())); in TEST() 1038 EXPECT_TRUE(matches("void x() { while(true); }", whileStmt())); in TEST() 1039 EXPECT_TRUE(notMatches("void x() { do {} while(true); }", whileStmt())); in TEST()
|
D | ASTMatchersTraversalTest.cpp | 973 whileStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST() 1011 whileStmt(hasBody(compoundStmt())))); in TEST() 1410 forEachDescendant(whileStmt().bind("while"))), in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1444 EXPECT_TRUE(notMatches("void x() {}", whileStmt())); in TEST_P() 1445 EXPECT_TRUE(matches("void x() { while(1); }", whileStmt())); in TEST_P() 1446 EXPECT_TRUE(notMatches("void x() { do {} while(1); }", whileStmt())); in TEST_P()
|
D | ASTMatchersTraversalTest.cpp | 1572 whileStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST() 1610 whileStmt(hasBody(compoundStmt())))); in TEST() 3450 forEachDescendant(whileStmt().bind("while"))), in TEST()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 420 REGISTER_MATCHER(whileStmt); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 551 REGISTER_MATCHER(whileStmt); in RegistryMaps()
|
/external/llvm-project/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 113 whileStmt())); in TEST()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 872 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt; variable
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1471 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2103 extern const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;
|