Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientStringConcatenationCheck.cpp35 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 DImplicitConversionInLoopCheck.cpp58 cxxOperatorCallExpr().bind("operator-call")), in registerMatchers()
H A DForRangeCopyCheck.cpp44 auto IteratorReturnsValueType = cxxOperatorCallExpr( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DStringviewNullptrCheck.cpp217 unless(cxxOperatorCallExpr())), in StringviewNullptrCheckImpl()
223 cxxOperatorCallExpr(hasOverloadedOperatorName("="), in StringviewNullptrCheckImpl()
230 cxxOperatorCallExpr(hasAnyOverloadedOperatorName("<", "<=", ">", ">="), in StringviewNullptrCheckImpl()
238 cxxOperatorCallExpr( in StringviewNullptrCheckImpl()
249 cxxOperatorCallExpr( in StringviewNullptrCheckImpl()
H A DDanglingHandleCheck.cpp85 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(isAMap()))), in makeContainerMatcher()
130 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(IsAHandle))), in registerMatchersForVariables()
H A DAssignmentInIfConditionCheck.cpp25 cxxOperatorCallExpr(isAssignmentOperator()) in registerMatchers()
H A DStringLiteralWithEmbeddedNulCheck.cpp57 Finder->addMatcher(cxxOperatorCallExpr(hasAnyArgument(StrLitWithNul)), this); in registerMatchers()
H A DStringIntegerAssignmentCheck.cpp22 cxxOperatorCallExpr( in registerMatchers()
H A DSignedCharMisuseCheck.cpp115 cxxOperatorCallExpr( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnconventionalAssignOperatorCheck.cpp57 cxxOperatorCallExpr(argumentCountIs(1), in registerMatchers()
60 cxxOperatorCallExpr( in registerMatchers()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp588 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 DASTMatchersTraversalTest.cpp1585 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 DRedundantStringCStrCheck.cpp111 cxxOperatorCallExpr( in registerMatchers()
122 cxxOperatorCallExpr(hasAnyOverloadedOperatorName("=", "+="), in registerMatchers()
H A DContainerDataPointerCheck.cpp71 anyOf(cxxOperatorCallExpr(SubscriptOperator, argumentCountIs(2), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp55 cxxOperatorCallExpr(ConstMethodCallee, in constReferenceDeclRefExprs()
142 cxxOperatorCallExpr(UsedAsConstRefArg, hasOverloadedOperatorName("="), in isCopyAssignmentArgument()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DTimeSubtractionCheck.cpp59 unless(hasParent(cxxOperatorCallExpr()))))))) in isArgument()
62 unless(hasParent(cxxOperatorCallExpr()))) in isArgument()
H A DDurationDivisionCheck.cpp27 cxxOperatorCallExpr(hasOverloadedOperatorName("/"), in registerMatchers()
H A DStrCatAppendCheck.cpp62 cxxOperatorCallExpr( in registerMatchers()
H A DDurationUnnecessaryConversionCheck.cpp45 auto DivisionOperatorMatcher = cxxOperatorCallExpr( in registerMatchers()
H A DUpgradeDurationConversionsCheck.cpp33 cxxOperatorCallExpr( in registerMatchers()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp133 return cxxOperatorCallExpr( in gtestThatInternal()
173 onImplicitObjectArgument(ignoringImplicit(cxxOperatorCallExpr( in gtestCallInternal()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp69 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 DProBoundsConstantArrayIndexCheck.cpp50 cxxOperatorCallExpr( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DReplaceAutoPtrCheck.cpp87 cxxOperatorCallExpr(hasOverloadedOperatorName("="), in registerMatchers()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp277 cxxOperatorCallExpr(callee(NonConstMethod), in findDirectMutation()
317 const auto AsOperatorArrowThis = cxxOperatorCallExpr( in findDirectMutation()
517 match(findAll(cxxOperatorCallExpr( in findReferenceMutation()

12