Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp48 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 DSourceCodeBuilders.cpp45 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 DStencil.cpp169 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 DUncountedCallArgsChecker.cpp71 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr()
126 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
H A DASTUtils.cpp48 if (auto *operatorCall = dyn_cast<CXXOperatorCallExpr>(E)) { in tryToFindPtrOrigin()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h907 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 DASTMatchers.h3061 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 DLoopConvertUtils.cpp229 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 DCXXOperatorCallExprTraverser.cpp20 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *CE) { in TraverseCXXOperatorCallExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp105 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 DUncheckedOptionalAccessModel.cpp460 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 DDurationDivisionCheck.cpp39 const auto *OpCall = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("OpCall"); in check()
H A DStrCatAppendCheck.cpp76 const auto *Op = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("Op"); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientStringConcatenationCheck.cpp71 Result.Nodes.getNodeAs<CXXOperatorCallExpr>("plusOperator"); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DStaticAccessedThroughInstanceCheck.cpp60 if (isa<CXXOperatorCallExpr>(BaseExpr)) in check()
H A DContainerSizeEmptyCheck.cpp180 const auto *BinCmp = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("BinCmp"); in check()
194 const auto *OpCallExpr = dyn_cast<CXXOperatorCallExpr>(E); in check()
H A DContainerDataPointerCheck.cpp101 if (!isa<DeclRefExpr, ArraySubscriptExpr, CXXOperatorCallExpr, CallExpr, in check()
H A DRedundantStringCStrCheck.cpp33 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(&ExprNode)) { in needParensAfterUnaryOperator()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DASTUtils.cpp33 if (const auto *Operator = dyn_cast<CXXOperatorCallExpr>(EBase)) { in isBinaryOrTernary()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h115 SmallVector<Stmt *, 8> getStmtChildren(CXXOperatorCallExpr *CE) { in getStmtChildren()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProBoundsConstantArrayIndexCheck.cpp75 cast<CXXOperatorCallExpr>(Matched)->getArg(0)->getSourceRange(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DAssertSideEffectCheck.cpp45 if (const auto *OpCallExpr = dyn_cast<CXXOperatorCallExpr>(E)) { in AST_MATCHER_P2()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h50 class CXXOperatorCallExpr; variable
414 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp249 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 DIndexBody.cpp111 } else if (auto CXXOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in getRolesForRef()
365 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E, in TraverseCXXOperatorCallExpr()

1234