/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/ |
D | SignedBitwiseCheck.cpp | 53 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/ |
D | PosixReturnCheck.cpp | 38 hasRHS(integerLiteral(equals(0)))) in registerMatchers() 47 hasRHS(integerLiteral(equals(0)))) in registerMatchers() 56 hasRHS(unaryOperator(hasOperatorName("-"), in registerMatchers()
|
D | TooSmallLoopVariableCheck.cpp | 85 hasRHS(LoopBoundMatcher)), in registerMatchers() 88 hasRHS(LoopBoundMatcher)), in registerMatchers() 90 hasRHS(LoopVarConversionMatcher)), in registerMatchers() 92 hasRHS(LoopVarConversionMatcher)))), in registerMatchers()
|
D | MisplacedPointerArithmeticInAllocCheck.cpp | 41 hasRHS(IntExpr)) in registerMatchers() 49 hasRHS(IntExpr)) in registerMatchers() 57 hasRHS(IntExpr)) in registerMatchers()
|
D | IncorrectRoundingsCheck.cpp | 48 auto OneSideHalf = anyOf(allOf(hasLHS(FloatOrCastHalf), hasRHS(FloatType)), in registerMatchers() 49 allOf(hasRHS(FloatOrCastHalf), hasLHS(FloatType))); in registerMatchers()
|
D | SignedCharMisuseCheck.cpp | 90 hasRHS(SignedCharCastExpr))); in registerMatchers() 105 hasRHS(UnSignedCharCastExpr)), in registerMatchers() 107 hasRHS(SignedCharCastExpr))))) in registerMatchers()
|
D | SuspiciousEnumUsageCheck.cpp | 127 hasRHS(expr(enumExpr("", "otherEnumDecl"), in registerMatchers() 136 hasRHS(expr(enumExpr("rhsExpr", ""), in registerMatchers() 149 hasRHS(enumExpr("enumExpr", "enumDecl"))), in registerMatchers()
|
D | SizeofExpressionCheck.cpp | 87 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()
|
D | MisplacedOperatorInStrlenInAllocCheck.cpp | 32 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1))))) in registerMatchers() 39 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1)))))), in registerMatchers()
|
D | SizeofContainerCheck.cpp | 33 hasRHS(ignoringParenCasts(equalsBoundNode("sizeof"))))))), in registerMatchers()
|
D | IntegerDivisionCheck.cpp | 36 hasRHS(expr(IntType)), in registerMatchers()
|
D | MisplacedWideningCastCheck.cpp | 49 Finder->addMatcher(binaryOperator(hasOperatorName("="), hasRHS(Cast)), this); in registerMatchers()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | GCDAntipatternChecker.cpp | 101 hasRHS(SemaphoreCreateM)))); in findGCDAntiPatternWithSemaphore() 143 hasRHS(DispatchGroupCreateM)))); in findGCDAntiPatternWithGroup()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 549 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/ |
D | LoopConvertCheck.cpp | 119 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/ |
D | MisplacedArrayIndexCheck.cpp | 25 hasRHS(hasType(isAnyPointer()))) in registerMatchers()
|
D | ImplicitBoolConversionCheck.cpp | 277 hasRHS(implicitCastFromBool)); in registerMatchers() 302 hasRHS(implicitCastFromBool)); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/android/ |
D | ComparisonInTempFailureRetryCheck.cpp | 50 hasRHS(ignoringParenCasts( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | OwningMemoryCheck.cpp | 99 hasRHS(unless(ConsideredOwner))) in registerMatchers() 131 hasRHS(CreatesOwner)) in registerMatchers()
|
D | NarrowingConversionsCheck.cpp | 67 hasRHS(expr(hasType(hasUnqualifiedDesugaredType(builtinType())))), in registerMatchers() 68 unless(hasRHS(IsCeilFloorCallExpr)), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | PreferIsaOrDynCastInConditionalsCheck.cpp | 63 hasRHS(anyOf(implicitCastExpr(has(CallExpression)), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | TimeSubtractionCheck.cpp | 124 binaryOperator(hasOperatorName("-"), hasRHS(TimeInverseMatcher)) in registerMatchers()
|
D | DurationFactoryScaleCheck.cpp | 129 binaryOperator(hasOperatorName("/"), hasRHS(floatLiteral())) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientVectorOperationCheck.cpp | 131 hasRHS(expr(unless(hasDescendant(expr(RefersToLoopVar)))) in AddMatcher()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | StencilTest.cpp | 460 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F() 473 Snippet, binaryOperator(hasRHS(callExpr( in TEST_F()
|