Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsPointerArithmeticCheck.cpp30 hasAnyOperatorName("+", "-", "+=", "-="), AllPointerTypes, in registerMatchers()
36 unaryOperator(hasAnyOperatorName("++", "--"), hasType(pointerType())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DIntegerDivisionCheck.cpp23 hasAnyOperatorName("%", "<<", ">>", "<<", "^", "|", "&", "||", "&&", "<", in registerMatchers()
26 const auto UnaryOperators = unaryOperator(hasAnyOperatorName("~", "!")); in registerMatchers()
DSuspiciousEnumUsageCheck.cpp134 binaryOperator(hasAnyOperatorName("+", "|"), in registerMatchers()
143 hasAnyOperatorName("+", "|"), in registerMatchers()
148 Finder->addMatcher(binaryOperator(hasAnyOperatorName("|=", "+="), in registerMatchers()
DSizeofContainerCheck.cpp31 hasAnyOperatorName("/", "%"), in registerMatchers()
DPosixReturnCheck.cpp52 hasAnyOperatorName("==", "!=", "<=", "<"), in registerMatchers()
DUnhandledSelfAssignmentCheck.cpp44 hasDescendant(binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
DMisplacedPointerArithmeticInAllocCheck.cpp31 const auto AdditiveOperator = binaryOperator(hasAnyOperatorName("+", "-")); in registerMatchers()
DSuspiciousStringCompareCheck.cpp120 binaryOperator(hasAnyOperatorName("&&", "||"), in registerMatchers()
DRedundantBranchConditionCheck.cpp55 hasAnyOperatorName("&&", "||"), in registerMatchers()
DSignedCharMisuseCheck.cpp103 expr(binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
DMisplacedWideningCastCheck.cpp32 expr(anyOf(binaryOperator(hasAnyOperatorName("+", "-", "*", "<<")), in registerMatchers()
DSizeofExpressionCheck.cpp264 hasAnyOperatorName("==", "!=", "<", "<=", ">", ">=", "+", "-"), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DSignedBitwiseCheck.cpp51 binaryOperator(hasAnyOperatorName("^", "|", "&", "^=", "|=", "&="), in registerMatchers()
63 binaryOperator(hasAnyOperatorName("<<", ">>", "<<=", ">>="), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DStringCompareCheck.cpp43 binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
DImplicitBoolConversionCheck.cpp300 auto boolComparison = binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchers()
303 auto boolOpAssignment = binaryOperator(hasAnyOperatorName("|=", "&="), in registerMatchers()
DRedundantSmartptrGetCheck.cpp84 binaryOperator(hasAnyOperatorName("==", "!="), in registerMatchersForGetEquals()
DNonConstParameterCheck.cpp33 stmt(anyOf(unaryOperator(hasAnyOperatorName("++", "--")), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.cpp201 unaryOperator(hasAnyOperatorName("+", "-"), in registerMatchers()
204 unaryOperator(hasAnyOperatorName("+", "-"), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp544 expr(anyOf(binaryOperator(hasAnyOperatorName("+", "|", "&"), in matchBinOpIntegerConstantExpr()
843 hasAnyOperatorName("-", "/", "%", "|", "&", "^", "&&", in registerMatchers()
859 binaryOperator(hasAnyOperatorName("|", "&", "||", "&&", "^"), in registerMatchers()
910 hasAnyOperatorName("|", "&"), in registerMatchers()
912 binaryOperator(hasAnyOperatorName("|", "&")), in registerMatchers()
981 binaryOperator(hasAnyOperatorName("||", "&&"), in registerMatchers()
DStaticAssertCheck.cpp41 hasAnyOperatorName("&&", "=="), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DStringFindStartswithCheck.cpp53 hasAnyOperatorName("==", "!="), in registerMatchers()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp254 REGISTER_MATCHER(hasAnyOperatorName); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp962 hasAnyOperatorName = {}; variable
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1296 binaryOperator(hasAnyOperatorName("+", "-", "*", "/")); in TEST()
1453 StatementMatcher Matcher = unaryOperator(hasAnyOperatorName("-", "*", "++")); in TEST()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h5176 hasAnyOperatorName;