Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousStringCompareCheck.cpp116 stmt(anyOf(ifStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
117 whileStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
118 doStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
119 forStmt(hasCondition(StringCompareCallExpr)), in registerMatchers()
DRedundantBranchConditionCheck.cpp45 hasCondition(ignoringParenImpCasts(anyOf( in registerMatchers()
51 ifStmt(hasCondition(ignoringParenImpCasts( in registerMatchers()
DTerminatingContinueCheck.cpp23 doStmt(hasCondition(ignoringImpCasts( in registerMatchers()
DBoolPointerImplicitConversionCheck.cpp24 hasCondition(findAll(implicitCastExpr( in registerMatchers()
DAssertSideEffectCheck.cpp89 auto ConditionWithSideEffect = hasCondition(DescendantWithSideEffect); in registerMatchers()
DTooSmallLoopVariableCheck.cpp82 hasCondition(anyOf( in registerMatchers()
DInfiniteLoopCheck.cpp120 hasCondition( in registerMatchers()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp74 hasCondition(cxxBoolLiteral(equals(false))), in TEST()
85 hasCondition(implicitCastExpr(hasSourceExpression( in TEST()
95 id("id", ifStmt(hasCondition(cxxBoolLiteral(equals(false))))), in TEST()
/external/llvm-project/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp71 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()
DTransformerTest.cpp793 makeRule(ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in TEST_F()
819 testRule(makeRule(ifStmt(hasCondition(expr().bind(C)), in TEST_F()
849 ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in TEST_F()
875 testRule(makeRule(ifStmt(hasCondition(expr().bind(C)), in TEST_F()
1310 hasCondition(binaryOperator(hasOperatorName("!="), in TEST_F()
DStencilTest.cpp132 Snippet, ifStmt(hasCondition(expr().bind(Condition)), in TEST_F()
150 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
/external/swiftshader/src/OpenGL/compiler/
DValidateSwitch.cpp97 const char *nodeStr = node->hasCondition() ? "case" : "default"; in visitCase()
105 if (!node->hasCondition()) in visitCase()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantSmartptrGetCheck.cpp68 Finder->addMatcher(ifStmt(hasCondition(CallToGetAsBool)), Callback); in registerMatchersForGetArrowStart()
71 Finder->addMatcher(conditionalOperator(hasCondition(CallToGetAsBool)), in registerMatchersForGetArrowStart()
DDeleteNullPointerCheck.cpp43 ifStmt(hasCondition( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp63 Finder->addMatcher(conditionalOperator(hasCondition(Condition), in registerMatchers()
69 ifStmt(hasCondition(Condition), unless(isInTemplateInstantiation())) in registerMatchers()
/external/angle/src/compiler/translator/
DValidateSwitch.cpp183 const char *nodeStr = node->hasCondition() ? "case" : "default"; in visitCase()
191 if (!node->hasCondition()) in visitCase()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNumberObjectConversionChecker.cpp274 hasCondition(SuspiciousNumberObjectExprM), in checkASTCodeBody()
302 hasCondition(SuspiciousNumberObjectExprM), in checkASTCodeBody()
/external/clang/unittests/AST/
DASTImporterTest.cpp329 hasCondition(cxxBoolLiteral(equals(true))), in TEST()
347 hasCondition( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DMultiwayPathsCoveredCheck.cpp28 hasCondition(expr( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferIsaOrDynCastInConditionalsCheck.cpp27 auto Condition = hasCondition(implicitCastExpr(has( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp116 hasCondition(anyOf( in makeArrayLoopMatcher()
218 hasCondition( in makeIteratorLoopMatcher()
319 hasCondition(anyOf( in makePseudoArrayLoopMatcher()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp963 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
968 forStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
973 whileStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
978 switchStmt(hasCondition(integerLiteral(equals(42)))); in TEST()
985 forStmt(hasCondition(anything())))); in TEST()
1000 forStmt(hasCondition(expr())))); in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DInefficientVectorOperationCheck.cpp129 hasCondition(binaryOperator( in AddMatcher()
/external/llvm-project/clang/docs/
DLibASTMatchersTutorial.rst387 hasCondition(binaryOperator(hasOperatorName("<"))
394 hasCondition(binaryOperator(
431 hasCondition(binaryOperator(
479 hasCondition(binaryOperator(
/external/clang/docs/
DLibASTMatchersTutorial.rst395 hasCondition(binaryOperator(hasOperatorName("<"))
402 hasCondition(binaryOperator(
439 hasCondition(binaryOperator(
487 hasCondition(binaryOperator(

12