Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DSignedBitwiseCheck.cpp53 unless(allOf(hasLHS(IsStdBitmask), hasRHS(IsStdBitmask))), in registerMatchers()
56 hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger()))) in registerMatchers()
65 hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger()))) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DPosixReturnCheck.cpp38 hasRHS(integerLiteral(equals(0)))) in registerMatchers()
47 hasRHS(integerLiteral(equals(0)))) in registerMatchers()
56 hasRHS(unaryOperator(hasOperatorName("-"), in registerMatchers()
DTooSmallLoopVariableCheck.cpp85 hasRHS(LoopBoundMatcher)), in registerMatchers()
88 hasRHS(LoopBoundMatcher)), in registerMatchers()
90 hasRHS(LoopVarConversionMatcher)), in registerMatchers()
92 hasRHS(LoopVarConversionMatcher)))), in registerMatchers()
DMisplacedPointerArithmeticInAllocCheck.cpp41 hasRHS(IntExpr)) in registerMatchers()
49 hasRHS(IntExpr)) in registerMatchers()
57 hasRHS(IntExpr)) in registerMatchers()
DIncorrectRoundingsCheck.cpp48 auto OneSideHalf = anyOf(allOf(hasLHS(FloatOrCastHalf), hasRHS(FloatType)), in registerMatchers()
49 allOf(hasRHS(FloatOrCastHalf), hasLHS(FloatType))); in registerMatchers()
DSignedCharMisuseCheck.cpp90 hasRHS(SignedCharCastExpr))); in registerMatchers()
105 hasRHS(UnSignedCharCastExpr)), in registerMatchers()
107 hasRHS(SignedCharCastExpr))))) in registerMatchers()
DSuspiciousEnumUsageCheck.cpp127 hasRHS(expr(enumExpr("", "otherEnumDecl"), in registerMatchers()
136 hasRHS(expr(enumExpr("rhsExpr", ""), in registerMatchers()
149 hasRHS(enumExpr("enumExpr", "enumDecl"))), in registerMatchers()
DSizeofExpressionCheck.cpp87 binaryOperator(hasLHS(IntegerExpr), hasRHS(IntegerExpr))))); in registerMatchers()
222 hasRHS(expr(ignoringParenImpCasts( in registerMatchers()
231 hasRHS(ignoringParenImpCasts(SizeOfExpr))) in registerMatchers()
259 hasRHS(expr(hasType(hasUnqualifiedDesugaredType(pointerType(pointee( in registerMatchers()
276 hasRHS(ignoringParenImpCasts(SizeOfExpr))) in registerMatchers()
DMisplacedOperatorInStrlenInAllocCheck.cpp32 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1))))) in registerMatchers()
39 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1)))))), in registerMatchers()
DSizeofContainerCheck.cpp33 hasRHS(ignoringParenCasts(equalsBoundNode("sizeof"))))))), in registerMatchers()
DIntegerDivisionCheck.cpp36 hasRHS(expr(IntType)), in registerMatchers()
DMisplacedWideningCastCheck.cpp49 Finder->addMatcher(binaryOperator(hasOperatorName("="), hasRHS(Cast)), this); in registerMatchers()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DGCDAntipatternChecker.cpp101 hasRHS(SemaphoreCreateM)))); in findGCDAntiPatternWithSemaphore()
143 hasRHS(DispatchGroupCreateM)))); in findGCDAntiPatternWithGroup()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp549 hasRHS(matchIntegerConstantExpr(Id))))) in matchBinOpIntegerConstantExpr()
579 hasRHS(matchIntegerConstantExpr(Id))), in matchRelationalIntegerConstantExpr()
581 hasRHS(matchSymbolicExpr(Id)), expr().bind(SwapId))))); in matchRelationalIntegerConstantExpr()
914 hasRHS(integerLiteral()))))) in registerMatchers()
927 hasRHS(ignoringParenImpCasts( in registerMatchers()
957 anyOf(allOf(hasLHS(BinOpCstLeft), hasRHS(SymRight)), in registerMatchers()
958 allOf(hasLHS(SymRight), hasRHS(BinOpCstLeft)))) in registerMatchers()
966 hasRHS(BinOpCstRight), in registerMatchers()
982 hasLHS(ComparisonLeft), hasRHS(ComparisonRight), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp119 hasRHS(ArrayBoundMatcher)), in makeArrayLoopMatcher()
121 hasRHS(IntegerComparisonMatcher())))), in makeArrayLoopMatcher()
221 hasRHS(IteratorBoundMatcher)), in makeIteratorLoopMatcher()
224 hasRHS(IteratorComparisonMatcher)), in makeIteratorLoopMatcher()
322 hasRHS(IndexBoundMatcher)), in makePseudoArrayLoopMatcher()
324 hasRHS(IntegerComparisonMatcher())))), in makePseudoArrayLoopMatcher()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisplacedArrayIndexCheck.cpp25 hasRHS(hasType(isAnyPointer()))) in registerMatchers()
DImplicitBoolConversionCheck.cpp277 hasRHS(implicitCastFromBool)); in registerMatchers()
302 hasRHS(implicitCastFromBool)); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/android/
DComparisonInTempFailureRetryCheck.cpp50 hasRHS(ignoringParenCasts( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp99 hasRHS(unless(ConsideredOwner))) in registerMatchers()
131 hasRHS(CreatesOwner)) in registerMatchers()
DNarrowingConversionsCheck.cpp67 hasRHS(expr(hasType(hasUnqualifiedDesugaredType(builtinType())))), in registerMatchers()
68 unless(hasRHS(IsCeilFloorCallExpr)), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferIsaOrDynCastInConditionalsCheck.cpp63 hasRHS(anyOf(implicitCastExpr(has(CallExpression)), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DTimeSubtractionCheck.cpp124 binaryOperator(hasOperatorName("-"), hasRHS(TimeInverseMatcher)) in registerMatchers()
DDurationFactoryScaleCheck.cpp129 binaryOperator(hasOperatorName("/"), hasRHS(floatLiteral())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DInefficientVectorOperationCheck.cpp131 hasRHS(expr(unless(hasDescendant(expr(RefersToLoopVar)))) in AddMatcher()
/external/llvm-project/clang/unittests/Tooling/
DStencilTest.cpp460 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
473 Snippet, binaryOperator(hasRHS(callExpr( in TEST_F()

12