| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 48 bool CXXOperatorCallExpr::isInfixBinaryOp() const { in isInfixBinaryOp() 84 } else if (auto *BO = dyn_cast<CXXOperatorCallExpr>(E)) { in getDecomposedForm() 119 } else if (auto *BO = dyn_cast<CXXOperatorCallExpr>(E)) { in getDecomposedForm() 537 CXXOperatorCallExpr::CXXOperatorCallExpr(OverloadedOperatorKind OpKind, in CXXOperatorCallExpr() function in CXXOperatorCallExpr 552 CXXOperatorCallExpr::CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, in CXXOperatorCallExpr() function in CXXOperatorCallExpr 557 CXXOperatorCallExpr * 558 CXXOperatorCallExpr::Create(const ASTContext &Ctx, in Create() 568 alignof(CXXOperatorCallExpr)); in Create() 573 CXXOperatorCallExpr *CXXOperatorCallExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 581 alignof(CXXOperatorCallExpr)); in CreateEmpty() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.cpp | 45 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(Expr)) in mayEverNeedParens() 57 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(Expr)) in needParensAfterUnaryOperator() 194 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(&E)) { in maybeGetOperatorObjectArg()
|
| H A D | Stencil.cpp | 169 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(E)) { in eval() 189 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(E)) { in eval()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedCallArgsChecker.cpp | 71 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr() 126 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
|
| H A D | ASTUtils.cpp | 48 if (auto *operatorCall = dyn_cast<CXXOperatorCallExpr>(E)) { in tryToFindPtrOrigin()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 907 static_assert(std::is_same<T, CXXOperatorCallExpr>::value || 926 bool matchesSpecialized(const CXXOperatorCallExpr &Node) const { 1999 equivalentBinaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) { 2080 equivalentUnaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) { 2121 getLHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) { 2131 getRHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) { 2142 getSubExpr<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) { 2204 inline Optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) { 2222 std::is_same<T, CXXOperatorCallExpr>::value || 2249 static Optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) { [all …]
|
| H A D | ASTMatchers.h | 3061 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), 3066 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), in hasOverloadedOperatorName() 3081 CXXOperatorCallExpr, FunctionDecl), 5630 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument 5647 BinaryOperator, CXXOperatorCallExpr, 5669 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument 5690 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument 5703 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument 5719 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument 5731 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.cpp | 229 if (const auto *OpCall = dyn_cast<CXXOperatorCallExpr>(E)) { in getDereferenceOperand() 319 static bool isDereferenceOfOpCall(const CXXOperatorCallExpr *OpCall, in isDereferenceOfOpCall() 397 const auto *OpCall = cast<CXXOperatorCallExpr>(Init); in isAliasDecl() 552 dyn_cast<CXXOperatorCallExpr>(Base->IgnoreParenImpCasts())) { in TraverseMemberExpr() 651 CXXOperatorCallExpr *OpCall) { in TraverseCXXOperatorCallExpr()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | CXXOperatorCallExprTraverser.cpp | 20 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *CE) { in TraverseCXXOperatorCallExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 105 return cast<CXXOperatorCallExpr>(Left)->getOperator() == in areEquivalentExpr() 106 cast<CXXOperatorCallExpr>(Right)->getOperator(); in areEquivalentExpr() 318 static OverloadedOperatorKind getOp(const CXXOperatorCallExpr *Op) { in getOp() 331 getOperands(const CXXOperatorCallExpr *Op) { in getOperands() 460 AST_MATCHER(CXXOperatorCallExpr, nestedParametersAreEquivalent) { in AST_MATCHER() argument 629 canOverloadedOperatorArgsBeModified(const CXXOperatorCallExpr *OperatorCall, in canOverloadedOperatorArgsBeModified() 678 Result.Nodes.getNodeAs<CXXOperatorCallExpr>(OverloadId)) { in retrieveRelationalIntegerConstantExpr() 1254 if (const auto *Call = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("call")) { in check() 1263 const auto *Call = dyn_cast<CXXOperatorCallExpr>(Op); in check()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 460 void transferAssignment(const CXXOperatorCallExpr *E, BoolValue &HasValueVal, in transferAssignment() 476 const CXXOperatorCallExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionAssignment() 485 void transferNulloptAssignment(const CXXOperatorCallExpr *E, in transferNulloptAssignment() 590 .CaseOf<CXXOperatorCallExpr>(isOptionalValueOrConversionAssignment(), in buildTransferMatchSwitch() 592 .CaseOf<CXXOperatorCallExpr>(isOptionalNulloptAssignment(), in buildTransferMatchSwitch()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | DurationDivisionCheck.cpp | 39 const auto *OpCall = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("OpCall"); in check()
|
| H A D | StrCatAppendCheck.cpp | 76 const auto *Op = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("Op"); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientStringConcatenationCheck.cpp | 71 Result.Nodes.getNodeAs<CXXOperatorCallExpr>("plusOperator"); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | StaticAccessedThroughInstanceCheck.cpp | 60 if (isa<CXXOperatorCallExpr>(BaseExpr)) in check()
|
| H A D | ContainerSizeEmptyCheck.cpp | 180 const auto *BinCmp = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("BinCmp"); in check() 194 const auto *OpCallExpr = dyn_cast<CXXOperatorCallExpr>(E); in check()
|
| H A D | ContainerDataPointerCheck.cpp | 101 if (!isa<DeclRefExpr, ArraySubscriptExpr, CXXOperatorCallExpr, CallExpr, in check()
|
| H A D | RedundantStringCStrCheck.cpp | 33 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(&ExprNode)) { in needParensAfterUnaryOperator()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ASTUtils.cpp | 33 if (const auto *Operator = dyn_cast<CXXOperatorCallExpr>(EBase)) { in isBinaryOrTernary()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | LexicallyOrderedRecursiveASTVisitor.h | 115 SmallVector<Stmt *, 8> getStmtChildren(CXXOperatorCallExpr *CE) { in getStmtChildren()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 75 cast<CXXOperatorCallExpr>(Matched)->getArg(0)->getSourceRange(); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | AssertSideEffectCheck.cpp | 45 if (const auto *OpCallExpr = dyn_cast<CXXOperatorCallExpr>(E)) { in AST_MATCHER_P2()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 50 class CXXOperatorCallExpr; variable 414 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 249 if (const CXXOperatorCallExpr *Op = in parse() 250 llvm::dyn_cast_or_null<CXXOperatorCallExpr>( in parse()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexBody.cpp | 111 } else if (auto CXXOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in getRolesForRef() 365 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E, in TraverseCXXOperatorCallExpr()
|