| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ContainerContainsCheck.cpp | 57 binaryOperator(hasLHS(CountCall), hasOperatorName("!="), hasRHS(Literal0)) in registerMatchers() 60 binaryOperator(hasLHS(Literal0), hasOperatorName("!="), hasRHS(CountCall)) in registerMatchers() 63 binaryOperator(hasLHS(CountCall), hasOperatorName(">"), hasRHS(Literal0)) in registerMatchers() 66 binaryOperator(hasLHS(Literal0), hasOperatorName("<"), hasRHS(CountCall)) in registerMatchers() 69 binaryOperator(hasLHS(CountCall), hasOperatorName(">="), hasRHS(Literal1)) in registerMatchers() 72 binaryOperator(hasLHS(Literal1), hasOperatorName("<="), hasRHS(CountCall)) in registerMatchers() 77 binaryOperator(hasLHS(CountCall), hasOperatorName("=="), hasRHS(Literal0)) in registerMatchers() 89 binaryOperator(hasLHS(CountCall), hasOperatorName("<"), hasRHS(Literal1)) in registerMatchers() 92 binaryOperator(hasLHS(Literal1), hasOperatorName(">"), hasRHS(CountCall)) in registerMatchers() 97 binaryOperator(hasLHS(FindCall), hasOperatorName("!="), hasRHS(EndCall)) in registerMatchers() [all …]
|
| H A D | MisplacedArrayIndexCheck.cpp | 24 hasRHS(hasType(isAnyPointer()))) in registerMatchers()
|
| H A D | ImplicitBoolConversionCheck.cpp | 278 hasRHS(ImplicitCastFromBool)); in registerMatchers() 303 hasRHS(ImplicitCastFromBool)); in registerMatchers()
|
| H A D | ContainerDataPointerCheck.cpp | 76 arraySubscriptExpr(hasLHS(ContainerExpr), hasRHS(Zero)))))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | PosixReturnCheck.cpp | 38 hasRHS(integerLiteral(equals(0)))) in registerMatchers() 47 hasRHS(integerLiteral(equals(0)))) in registerMatchers() 56 hasRHS(unaryOperator(hasOperatorName("-"), in registerMatchers()
|
| H A D | TooSmallLoopVariableCheck.cpp | 84 hasRHS(LoopBoundMatcher)), in registerMatchers() 87 hasRHS(LoopBoundMatcher)), in registerMatchers() 89 hasRHS(LoopVarConversionMatcher)), in registerMatchers() 91 hasRHS(LoopVarConversionMatcher)))), in registerMatchers()
|
| H A D | MisplacedPointerArithmeticInAllocCheck.cpp | 41 hasRHS(IntExpr)) in registerMatchers() 49 hasRHS(IntExpr)) in registerMatchers() 57 hasRHS(IntExpr)) in registerMatchers()
|
| H A D | IncorrectRoundingsCheck.cpp | 48 auto OneSideHalf = anyOf(allOf(hasLHS(FloatOrCastHalf), hasRHS(FloatType)), in registerMatchers() 49 allOf(hasRHS(FloatOrCastHalf), hasLHS(FloatType))); in registerMatchers()
|
| H A D | SignedCharMisuseCheck.cpp | 83 hasRHS(SignedCharCastExpr))); in registerMatchers() 98 hasRHS(UnSignedCharCastExpr)), in registerMatchers() 100 hasRHS(SignedCharCastExpr))))) in registerMatchers()
|
| H A D | SizeofExpressionCheck.cpp | 89 binaryOperator(hasLHS(IntegerExpr), hasRHS(IntegerExpr)))); in registerMatchers() 213 hasRHS(ignoringParenImpCasts(sizeOfExpr( in registerMatchers() 221 hasRHS(ignoringParenImpCasts(SizeOfExpr))) in registerMatchers() 248 hasRHS(hasType(hasUnqualifiedDesugaredType(pointerType(pointee( in registerMatchers() 265 hasRHS(ignoringParenImpCasts(SizeOfExpr))) in registerMatchers()
|
| H A D | SuspiciousEnumUsageCheck.cpp | 127 hasRHS(hasType(enumDecl(unless(equalsBoundNode("enumDecl"))) in registerMatchers() 135 hasRHS(expr(hasType(enumDecl(equalsBoundNode("enumDecl")))) in registerMatchers() 147 hasRHS(EnumExpr("enumExpr", "enumDecl"))), in registerMatchers()
|
| H A D | MisplacedOperatorInStrlenInAllocCheck.cpp | 32 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1))))) in registerMatchers() 39 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1)))))), in registerMatchers()
|
| H A D | SizeofContainerCheck.cpp | 33 hasRHS(ignoringParenCasts(equalsBoundNode("sizeof"))))))), in registerMatchers()
|
| H A D | IntegerDivisionCheck.cpp | 36 hasRHS(expr(IntType)), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 548 hasRHS(matchIntegerConstantExpr(Id))))) in matchBinOpIntegerConstantExpr() 579 hasRHS(matchIntegerConstantExpr(Id))), in matchRelationalIntegerConstantExpr() 581 hasRHS(matchSymbolicExpr(Id)), expr().bind(SwapId))))); in matchRelationalIntegerConstantExpr() 608 hasRHS(ignoringParenImpCasts(integerLiteral().bind(ConstId))))) in matchRelationalIntegerConstantExpr() 938 hasRHS(integerLiteral()))))) in registerMatchers() 949 hasRHS(ignoringParenImpCasts( in registerMatchers() 979 anyOf(allOf(hasLHS(BinOpCstLeft), hasRHS(SymRight)), in registerMatchers() 980 allOf(hasLHS(SymRight), hasRHS(BinOpCstLeft)))) in registerMatchers() 988 hasRHS(BinOpCstRight), in registerMatchers() 1004 hasLHS(ComparisonLeft), hasRHS(ComparisonRight), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GCDAntipatternChecker.cpp | 101 hasRHS(SemaphoreCreateM)))); in findGCDAntiPatternWithSemaphore() 143 hasRHS(DispatchGroupCreateM)))); in findGCDAntiPatternWithGroup()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | OwningMemoryCheck.cpp | 89 hasRHS(unless(ConsideredOwner))) in registerMatchers() 121 hasRHS(CreatesOwner)) in registerMatchers()
|
| H A D | NarrowingConversionsCheck.cpp | 159 hasRHS(expr(hasType(hasUnqualifiedDesugaredType(builtinType())))), in registerMatchers() 160 unless(hasRHS(IsCeilFloorCallExpr)), in registerMatchers() 166 : binaryOperator(unless(hasRHS(IsIgnoredTypeTwoLevelsDeep))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/ |
| H A D | AssertEquals.cpp | 37 hasRHS(hasType(qualType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | IdDependentBackwardBranchCheck.cpp | 37 isAssignmentOperator(), hasRHS(ThreadID), in registerMatchers() 56 allOf(isAssignmentOperator(), hasRHS(RefVarOrField), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/ |
| H A D | ComparisonInTempFailureRetryCheck.cpp | 50 hasRHS(ignoringParenCasts( in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 1530 hasRHS(cxxBoolLiteral(equals(false)))); in TEST() 1582 hasRHS(s2Expr))))); in TEST() 1604 hasRHS(s2Expr))))); in TEST() 3995 hasRHS(ignoringImplicit( in TEST() 4103 hasRHS(integerLiteral(equals(0)))); in TEST() 4154 hasRHS(ignoringImplicit( in TEST() 4185 hasRHS(ignoringImplicit( in TEST() 4216 hasRHS(ignoringImplicit( in TEST() 4247 hasRHS(ignoringImplicit( in TEST() 4278 hasRHS(ignoringImplicit( in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | PreferIsaOrDynCastInConditionalsCheck.cpp | 64 hasRHS(anyOf(implicitCastExpr(has(CallExpression)), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | TimeSubtractionCheck.cpp | 124 binaryOperator(hasOperatorName("-"), hasRHS(TimeInverseMatcher)) in registerMatchers()
|