| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientStringConcatenationCheck.cpp | 35 const auto BasicStringPlusOperator = cxxOperatorCallExpr( in registerMatchers() 40 cxxOperatorCallExpr( in registerMatchers() 46 const auto AssignOperator = cxxOperatorCallExpr( in registerMatchers() 56 Finder->addMatcher(cxxOperatorCallExpr(anyOf(AssignOperator, PlusOperator)), in registerMatchers() 60 cxxOperatorCallExpr(anyOf(AssignOperator, PlusOperator), in registerMatchers()
|
| H A D | ImplicitConversionInLoopCheck.cpp | 58 cxxOperatorCallExpr().bind("operator-call")), in registerMatchers()
|
| H A D | ForRangeCopyCheck.cpp | 44 auto IteratorReturnsValueType = cxxOperatorCallExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | StringviewNullptrCheck.cpp | 217 unless(cxxOperatorCallExpr())), in StringviewNullptrCheckImpl() 223 cxxOperatorCallExpr(hasOverloadedOperatorName("="), in StringviewNullptrCheckImpl() 230 cxxOperatorCallExpr(hasAnyOverloadedOperatorName("<", "<=", ">", ">="), in StringviewNullptrCheckImpl() 238 cxxOperatorCallExpr( in StringviewNullptrCheckImpl() 249 cxxOperatorCallExpr( in StringviewNullptrCheckImpl()
|
| H A D | DanglingHandleCheck.cpp | 85 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(isAMap()))), in makeContainerMatcher() 130 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(IsAHandle))), in registerMatchersForVariables()
|
| H A D | AssignmentInIfConditionCheck.cpp | 25 cxxOperatorCallExpr(isAssignmentOperator()) in registerMatchers()
|
| H A D | StringLiteralWithEmbeddedNulCheck.cpp | 57 Finder->addMatcher(cxxOperatorCallExpr(hasAnyArgument(StrLitWithNul)), this); in registerMatchers()
|
| H A D | StringIntegerAssignmentCheck.cpp | 22 cxxOperatorCallExpr( in registerMatchers()
|
| H A D | SignedCharMisuseCheck.cpp | 115 cxxOperatorCallExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnconventionalAssignOperatorCheck.cpp | 57 cxxOperatorCallExpr(argumentCountIs(1), in registerMatchers() 60 cxxOperatorCallExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 588 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 597 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 606 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 646 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 658 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 670 mapAnyOf(binaryOperator, cxxOperatorCallExpr) in TEST_P() 1380 cxxOperatorCallExpr(hasOverloadedOperatorName("*")); in TEST_P() 1412 cxxOperatorCallExpr(hasParent(cxxOperatorCallExpr())))); in TEST_P() 1417 cxxOperatorCallExpr(hasDescendant(cxxOperatorCallExpr())))); in TEST_P() 3950 cxxOperatorCallExpr(isAssignmentOperator()); in TEST_P() [all …]
|
| H A D | ASTMatchersTraversalTest.cpp | 1585 cxxOperatorCallExpr( in TEST() 1590 cxxOperatorCallExpr( in TEST() 1595 cxxOperatorCallExpr( in TEST() 1607 cxxOperatorCallExpr( in TEST() 1612 cxxOperatorCallExpr( in TEST() 1617 cxxOperatorCallExpr( in TEST() 1870 cxxOperatorCallExpr( in TEST() 1877 cxxOperatorCallExpr( in TEST() 1884 cxxOperatorCallExpr( in TEST() 1891 cxxOperatorCallExpr( in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantStringCStrCheck.cpp | 111 cxxOperatorCallExpr( in registerMatchers() 122 cxxOperatorCallExpr(hasAnyOverloadedOperatorName("=", "+="), in registerMatchers()
|
| H A D | ContainerDataPointerCheck.cpp | 71 anyOf(cxxOperatorCallExpr(SubscriptOperator, argumentCountIs(2), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | DeclRefExprUtils.cpp | 55 cxxOperatorCallExpr(ConstMethodCallee, in constReferenceDeclRefExprs() 142 cxxOperatorCallExpr(UsedAsConstRefArg, hasOverloadedOperatorName("="), in isCopyAssignmentArgument()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | TimeSubtractionCheck.cpp | 59 unless(hasParent(cxxOperatorCallExpr()))))))) in isArgument() 62 unless(hasParent(cxxOperatorCallExpr()))) in isArgument()
|
| H A D | DurationDivisionCheck.cpp | 27 cxxOperatorCallExpr(hasOverloadedOperatorName("/"), in registerMatchers()
|
| H A D | StrCatAppendCheck.cpp | 62 cxxOperatorCallExpr( in registerMatchers()
|
| H A D | DurationUnnecessaryConversionCheck.cpp | 45 auto DivisionOperatorMatcher = cxxOperatorCallExpr( in registerMatchers()
|
| H A D | UpgradeDurationConversionsCheck.cpp | 33 cxxOperatorCallExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | GtestMatchers.cpp | 133 return cxxOperatorCallExpr( in gtestThatInternal() 173 onImplicitObjectArgument(ignoringImplicit(cxxOperatorCallExpr( in gtestCallInternal()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 69 return cxxOperatorCallExpr( in isOptionalOperatorCallWithName() 111 return cxxOperatorCallExpr( in isOptionalValueOrConversionAssignment() 120 return cxxOperatorCallExpr(hasOverloadedOperatorName("="), in isOptionalNulloptAssignment() 539 cxxOperatorCallExpr(anyOf(hasOverloadedOperatorName("->"), in ignorableOptional()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 50 cxxOperatorCallExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ReplaceAutoPtrCheck.cpp | 87 cxxOperatorCallExpr(hasOverloadedOperatorName("="), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 277 cxxOperatorCallExpr(callee(NonConstMethod), in findDirectMutation() 317 const auto AsOperatorArrowThis = cxxOperatorCallExpr( in findDirectMutation() 517 match(findAll(cxxOperatorCallExpr( in findReferenceMutation()
|