Home
last modified time | relevance | path

Searched refs:whileStmt (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSpuriouslyWakeUpFunctionsCheck.cpp66 hasDescendant(whileStmt(hasWaitDescendantCPP)), in registerMatchers()
79 hasDescendant(whileStmt(hasWaitDescendantC)), in registerMatchers()
82 hasParent(whileStmt()), in registerMatchers()
83 hasParent(compoundStmt(hasParent(whileStmt()))), in registerMatchers()
DTerminatingContinueCheck.cpp29 continueStmt(hasAncestor(stmt(anyOf(forStmt(), whileStmt(), in registerMatchers()
DUnusedReturnValueCheck.cpp154 auto UnusedInWhileStmt = whileStmt(hasBody(MatchedCallExpr)); in registerMatchers()
DSuspiciousSemicolonCheck.cpp27 whileStmt(hasBody(nullStmt().bind("semi"))))) in registerMatchers()
DMultipleStatementMacroCheck.cpp62 whileStmt(hasBody(Inner)), forStmt(hasBody(Inner)))) in registerMatchers()
DSuspiciousStringCompareCheck.cpp117 whileStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
DInfiniteLoopCheck.cpp125 Finder->addMatcher(stmt(anyOf(whileStmt(LoopCondition), doStmt(LoopCondition), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DAvoidGotoCheck.cpp32 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/
DInefficientStringConcatenationCheck.cpp62 whileStmt(), forStmt())))), in registerMatchers()
DUnnecessaryValueParamCheck.cpp49 whileStmt(), doStmt())))))))), in hasLoopStmtAncestor()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantControlFlowCheck.cpp43 stmt(anyOf(forStmt(), cxxForRangeStmt(), whileStmt(), doStmt()), in registerMatchers()
DMisleadingIndentationCheck.cpp115 compoundStmt(has(stmt(anyOf(ifStmt(), forStmt(), whileStmt())))) in registerMatchers()
DBracesAroundStatementsCheck.cpp130 Finder->addMatcher(whileStmt().bind("while"), this); in registerMatchers()
DImplicitBoolConversionCheck.cpp289 stmt(anyOf(ifStmt(), whileStmt()), has(declStmt())))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferIsaOrDynCastInConditionalsCheck.cpp57 ifStmt(Any), whileStmt(Any), doStmt(Condition), in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1037 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()
DASTMatchersTraversalTest.cpp973 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/
DASTMatchersNodeTest.cpp1444 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()
DASTMatchersTraversalTest.cpp1572 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/
DRegistry.cpp420 REGISTER_MATCHER(whileStmt); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp551 REGISTER_MATCHER(whileStmt); in RegistryMaps()
/external/llvm-project/clang/unittests/AST/
DSourceLocationTest.cpp113 whileStmt())); in TEST()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp872 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1471 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2103 extern const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;