| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | IntegerDivisionCheck.cpp | 23 hasAnyOperatorName("%", "<<", ">>", "<<", "^", "|", "&", "||", "&&", "<", in registerMatchers() 26 const auto UnaryOperators = unaryOperator(hasAnyOperatorName("~", "!")); in registerMatchers()
|
| H A D | SuspiciousEnumUsageCheck.cpp | 133 binaryOperator(hasAnyOperatorName("+", "|"), in registerMatchers() 141 hasAnyOperatorName("+", "|"), in registerMatchers() 146 Finder->addMatcher(binaryOperator(hasAnyOperatorName("|=", "+="), in registerMatchers()
|
| H A D | SizeofContainerCheck.cpp | 31 hasAnyOperatorName("/", "%"), in registerMatchers()
|
| H A D | PosixReturnCheck.cpp | 52 hasAnyOperatorName("==", "!=", "<=", "<"), in registerMatchers()
|
| H A D | UnhandledSelfAssignmentCheck.cpp | 44 binaryOperation(hasAnyOperatorName("==", "!="), in registerMatchers()
|
| H A D | MisplacedPointerArithmeticInAllocCheck.cpp | 31 const auto AdditiveOperator = binaryOperator(hasAnyOperatorName("+", "-")); in registerMatchers()
|
| H A D | SuspiciousStringCompareCheck.cpp | 115 binaryOperator(hasAnyOperatorName("&&", "||"), in registerMatchers()
|
| H A D | SignedCharMisuseCheck.cpp | 96 expr(binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
|
| H A D | MisplacedWideningCastCheck.cpp | 32 expr(anyOf(binaryOperator(hasAnyOperatorName("+", "-", "*", "<<")), in registerMatchers()
|
| H A D | RedundantBranchConditionCheck.cpp | 63 hasAnyOperatorName("&&", "||"), in registerMatchers()
|
| H A D | ImplicitWideningOfMultiplicationResultCheck.cpp | 252 hasAnyOperatorName("+", "-", "+=", "-=")) in registerMatchers()
|
| H A D | SizeofExpressionCheck.cpp | 253 hasAnyOperatorName("==", "!=", "<", "<=", ">", ">=", "+", "-"), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsPointerArithmeticCheck.cpp | 32 hasAnyOperatorName("+", "-", "+=", "-="), AllPointerTypes, in registerMatchers() 38 unaryOperator(hasAnyOperatorName("++", "--"), hasType(pointerType())) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | SignedBitwiseCheck.cpp | 51 binaryOperator(hasAnyOperatorName("^", "|", "&", "^=", "|=", "&="), in registerMatchers() 63 binaryOperator(hasAnyOperatorName("<<", ">>", "<<=", ">>="), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | StringFindStartswithCheck.cpp | 53 hasAnyOperatorName("==", "!="), in registerMatchers() 72 hasAnyOperatorName("==", "!="), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | StringCompareCheck.cpp | 43 binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 78 binaryOperator(hasAnyOperatorName("&&", "||")), in AST_MATCHER() 167 binaryOperation(hasAnyOperatorName("==", "!="), in registerMatchers()
|
| H A D | ImplicitBoolConversionCheck.cpp | 301 auto BoolComparison = binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers() 304 auto BoolOpAssignment = binaryOperator(hasAnyOperatorName("|=", "&="), in registerMatchers()
|
| H A D | RedundantSmartptrGetCheck.cpp | 102 binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchersForGetEquals()
|
| H A D | NonConstParameterCheck.cpp | 31 Finder->addMatcher(stmt(anyOf(unaryOperator(hasAnyOperatorName("++", "--")), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseDefaultMemberInitCheck.cpp | 201 unaryOperator(hasAnyOperatorName("+", "-"), in registerMatchers() 204 unaryOperator(hasAnyOperatorName("+", "-"), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 543 expr(anyOf(binaryOperator(hasAnyOperatorName("+", "|", "&"), in matchBinOpIntegerConstantExpr() 867 hasAnyOperatorName("-", "/", "%", "|", "&", "^", "&&", in registerMatchers() 883 binaryOperator(hasAnyOperatorName("|", "&", "||", "&&", "^"), in registerMatchers() 934 hasAnyOperatorName("|", "&"), in registerMatchers() 936 binaryOperator(hasAnyOperatorName("|", "&")), in registerMatchers() 1003 binaryOperator(hasAnyOperatorName("||", "&&"), in registerMatchers()
|
| H A D | StaticAssertCheck.cpp | 41 hasAnyOperatorName("&&", "=="), in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 1516 binaryOperator(hasAnyOperatorName("+", "-", "*", "/")); in TEST() 1808 hasAnyOperatorName("+", "!"), in TEST() 1820 hasAnyOperatorName("+", "!"), in TEST() 3991 hasOperatorName("!="), hasAnyOperatorName("<", "!="), in TEST() 4008 hasOperatorName("!="), hasAnyOperatorName("<", "!="), in TEST() 4150 hasOperatorName("!="), hasAnyOperatorName("<", "!="), in TEST() 4181 hasOperatorName("<"), hasAnyOperatorName("<", "!="), in TEST() 4198 hasOperatorName("<"), hasAnyOperatorName("<", "!="), in TEST() 4212 hasOperatorName(">"), hasAnyOperatorName("<", ">"), in TEST() 4229 hasOperatorName(">"), hasAnyOperatorName("<", ">"), in TEST() [all …]
|
| H A D | ASTMatchersNarrowingTest.cpp | 681 .with(hasAnyOperatorName("==", "!="), in TEST_P() 687 .with(hasAnyOperatorName("==", "!="), in TEST_P() 693 .with(hasAnyOperatorName("==", "!="), in TEST_P() 852 .with(hasAnyOperatorName("+", "!"), in TEST_P() 858 .with(hasAnyOperatorName("+", "!"), in TEST_P() 864 .with(hasAnyOperatorName("+", "!"), in TEST_P()
|