| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | AssignmentInIfConditionCheck.cpp | 20 Finder->addMatcher(ifStmt(hasCondition(forEachDescendant( in registerMatchers() 24 Finder->addMatcher(ifStmt(hasCondition(forEachDescendant( in registerMatchers()
|
| H A D | RedundantBranchConditionCheck.cpp | 51 hasCondition(anyOf( in registerMatchers() 58 ifStmt(hasCondition(anyOf( in registerMatchers()
|
| H A D | TerminatingContinueCheck.cpp | 23 doStmt(hasCondition(ignoringImpCasts( in registerMatchers()
|
| H A D | BoolPointerImplicitConversionCheck.cpp | 24 hasCondition(findAll(implicitCastExpr( in registerMatchers()
|
| H A D | AssertSideEffectCheck.cpp | 101 auto ConditionWithSideEffect = hasCondition(DescendantWithSideEffect); in registerMatchers()
|
| H A D | SuspiciousStringCompareCheck.cpp | 114 .with(hasCondition(StringCompareCallExpr)), in registerMatchers()
|
| H A D | TooSmallLoopVariableCheck.cpp | 81 hasCondition(anyOf( in registerMatchers()
|
| H A D | InfiniteLoopCheck.cpp | 151 hasCondition( in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RefactoringCallbacksTest.cpp | 71 conditionalOperator(hasCondition(cxxBoolLiteral(equals(false))), in TEST() 82 ifStmt(hasCondition(implicitCastExpr(hasSourceExpression( in TEST() 94 ifStmt(hasCondition(cxxBoolLiteral(equals(false)))).bind("id"), Callback); in TEST()
|
| H A D | TransformerTest.cpp | 831 makeRule(ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in TEST_F() 856 testRule(makeRule(ifStmt(hasCondition(expr().bind(C)), in TEST_F() 885 ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in TEST_F() 911 testRule(makeRule(ifStmt(hasCondition(expr().bind(C)), in TEST_F() 1343 hasCondition(binaryOperator(hasOperatorName("!="), in TEST_F()
|
| H A D | StencilTest.cpp | 146 Snippet, ifStmt(hasCondition(expr().bind(Condition)), in TEST_F() 164 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | IdDependentBackwardBranchCheck.cpp | 74 Finder->addMatcher(stmt(anyOf(forStmt(hasCondition(CondExpr)), in registerMatchers() 75 doStmt(hasCondition(CondExpr)), in registerMatchers() 76 whileStmt(hasCondition(CondExpr)))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantSmartptrGetCheck.cpp | 82 Finder->addMatcher(ifStmt(hasCondition(CallToGetAsBool)), Callback); in registerMatchersForGetArrowStart() 85 Finder->addMatcher(conditionalOperator(hasCondition(CallToGetAsBool)), in registerMatchersForGetArrowStart()
|
| H A D | DeleteNullPointerCheck.cpp | 40 ifStmt(hasCondition(anyOf(PointerExpr, BinaryPointerCheckCondition)), in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 69 .with(hasCondition(expr(equalsBoundNode(ExprName)))), in AST_MATCHER()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | StaticAssertCheck.cpp | 63 Finder->addMatcher(conditionalOperator(hasCondition(Condition), in registerMatchers() 69 ifStmt(hasCondition(Condition), unless(isInTemplateInstantiation())) in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 274 hasCondition(SuspiciousNumberObjectExprM), in checkASTCodeBody() 302 hasCondition(SuspiciousNumberObjectExprM), in checkASTCodeBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | MultiwayPathsCoveredCheck.cpp | 28 hasCondition(expr( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | PreferIsaOrDynCastInConditionalsCheck.cpp | 27 auto Condition = hasCondition(implicitCastExpr(has( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertCheck.cpp | 115 hasCondition(arrayConditionMatcher(ArrayBoundMatcher)), in makeArrayLoopMatcher() 203 hasCondition(ignoringImplicit(binaryOperation( in makeIteratorLoopMatcher() 292 hasCondition(arrayConditionMatcher(IndexBoundMatcher)), in makePseudoArrayLoopMatcher()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientVectorOperationCheck.cpp | 133 hasCondition(binaryOperator( in addMatcher()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTMatchersTutorial.rst | 402 hasCondition(binaryOperator(hasOperatorName("<"))) 409 hasCondition(binaryOperator( 446 hasCondition(binaryOperator( 494 hasCondition(binaryOperator(
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | TransformerClangTidyCheckTest.cpp | 39 ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in invertIf()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 144 hasCondition(simpleCondition("initVarName", "initVarRef")), in forLoopMatcher()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 1078 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST_P() 1095 conditionalOperator(hasCondition(cxxBoolLiteral(equals(true))), in TEST_P() 1122 hasCondition(implicitCastExpr(has(opaqueValueExpr( in TEST_P()
|