Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/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 …]
H A DExpr.cpp1462 return sizeof(CXXOperatorCallExpr); in offsetToTrailingObjects()
1562 if (isa<CXXOperatorCallExpr>(this)) in getBeginLoc()
1563 return cast<CXXOperatorCallExpr>(this)->getBeginLoc(); in getBeginLoc()
1571 if (isa<CXXOperatorCallExpr>(this)) in getEndLoc()
1572 return cast<CXXOperatorCallExpr>(this)->getEndLoc(); in getEndLoc()
2603 const CXXOperatorCallExpr *Op = cast<CXXOperatorCallExpr>(this); in isUnusedResultAWarning()
H A DStmtProfile.cpp1545 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, in DecodeOperatorCall()
1748 void StmtProfiler::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) { in VisitCXXOperatorCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h914 static_assert(std::is_same<T, CXXOperatorCallExpr>::value ||
933 bool matchesSpecialized(const CXXOperatorCallExpr &Node) const {
2011 equivalentBinaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2092 equivalentUnaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2133 getLHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2143 getRHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2154 getSubExpr<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2216 inline Optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) {
2234 std::is_same<T, CXXOperatorCallExpr>::value ||
2265 static Optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) {
[all …]
H A DASTMatchers.h3048 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl),
3053 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), in hasOverloadedOperatorName()
3068 CXXOperatorCallExpr, FunctionDecl),
5437 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5454 BinaryOperator, CXXOperatorCallExpr,
5476 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5497 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5510 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5526 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5538 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp72 isa<CXXOperatorCallExpr>(CE) && dyn_cast_or_null<CXXMethodDecl>(F); in visitCallExpr()
127 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
H A DASTUtils.cpp48 if (auto *operatorCall = dyn_cast<CXXOperatorCallExpr>(E)) { in tryToFindPtrOrigin()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp43 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(Expr)) in mayEverNeedParens()
55 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(Expr)) in needParensAfterUnaryOperator()
H A DStencil.cpp202 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(E)) { in eval()
222 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(E)) { in eval()
320 if (const auto *OpCall = dyn_cast<clang::CXXOperatorCallExpr>(E)) { in eval()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h115 SmallVector<Stmt *, 8> getStmtChildren(CXXOperatorCallExpr *CE) { in getStmtChildren()
H A DTextNodeDumper.h251 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *Node);
H A DExprCXX.h82 class CXXOperatorCallExpr final : public CallExpr {
93 CXXOperatorCallExpr(OverloadedOperatorKind OpKind, Expr *Fn,
98 CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, EmptyShell Empty);
101 static CXXOperatorCallExpr *
107 static CXXOperatorCallExpr *CreateEmpty(const ASTContext &Ctx,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h49 class CXXOperatorCallExpr; variable
405 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp107 } else if (auto CXXOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in getRolesForRef()
361 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E, in TraverseCXXOperatorCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp41 isa<CXXOperatorCallExpr>(CE)); in commonEmitCXXMemberOrOperatorCall()
67 unsigned ArgsToSkip = isa<CXXOperatorCallExpr>(CE) ? 1 : 0; in commonEmitCXXMemberOrOperatorCall()
212 assert(isa<CXXMemberCallExpr>(CE) || isa<CXXOperatorCallExpr>(CE)); in EmitCXXMemberOrOperatorMemberCallExpr()
258 if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(CE)) { in EmitCXXMemberOrOperatorMemberCallExpr()
308 LValue RHS = isa<CXXOperatorCallExpr>(CE) in EmitCXXMemberOrOperatorMemberCallExpr()
481 CodeGenFunction::EmitCXXOperatorMemberCallExpr(const CXXOperatorCallExpr *E, in EmitCXXOperatorMemberCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h743 CXXMemberOperatorCall(const CXXOperatorCallExpr *CE, ProgramStateRef St, in CXXMemberOperatorCall()
753 const CXXOperatorCallExpr *getOriginExpr() const override { in getOriginExpr()
754 return cast<CXXOperatorCallExpr>(CXXInstanceCall::getOriginExpr()); in getOriginExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp168 if (const auto *OE = dyn_cast<CXXOperatorCallExpr>(AttrExp)) { in translateAttrExpr()
222 return translateCXXOperatorCallExpr(cast<CXXOperatorCallExpr>(S), Ctx); in translate()
417 const CXXOperatorCallExpr *OCE, CallingContext *Ctx) { in translateCXXOperatorCallExpr()
H A DConsumed.cpp506 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *Call);
614 if (isa<CXXOperatorCallExpr>(Call) && isa<CXXMethodDecl>(FunD)) in handleCall()
813 const CXXOperatorCallExpr *Call) { in VisitCXXOperatorCallExpr()
H A DBodyFarm.cpp290 return CXXOperatorCallExpr::Create( in create_call_once_lambda_call()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp872 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXOperatorCallExpr>
934 const internal::MapAnyOfMatcher<BinaryOperator, CXXOperatorCallExpr,
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp164 static syntax::NodeKind getOperatorNodeKind(const CXXOperatorCallExpr &E) { in getOperatorNodeKind()
1242 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in TraverseCXXOperatorCallExpr()
1265 bool WalkUpFromCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in WalkUpFromCXXOperatorCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp150 } else if (const CXXOperatorCallExpr *Op = dyn_cast<CXXOperatorCallExpr>(E)) { in DiagnoseUnusedComparison()
1931 if (CXXOperatorCallExpr *Call = dyn_cast<CXXOperatorCallExpr>(Statement)) { in ProcessIterationStmt()
3064 while (!isa<CXXOperatorCallExpr>(E) && !isa<UnaryOperator>(E)) { in DiagnoseForRangeReferenceVariableCopies()
3081 const CXXOperatorCallExpr *Call = cast<CXXOperatorCallExpr>(E); in DiagnoseForRangeReferenceVariableCopies()
H A DSemaOverload.cpp13270 return CXXOperatorCallExpr::Create(Context, Op, Fn.get(), ArgsArray, in CreateOverloadedUnaryOp()
13344 CallExpr *TheCall = CXXOperatorCallExpr::Create( in CreateOverloadedUnaryOp()
13533 return CXXOperatorCallExpr::Create(Context, Op, Fn.get(), Args, in CreateOverloadedBinOp()
13702 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in CreateOverloadedBinOp()
14014 return CXXOperatorCallExpr::Create(Context, OO_Subscript, Fn.get(), Args, in CreateOverloadedArraySubscriptExpr()
14089 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in CreateOverloadedArraySubscriptExpr()
14724 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in BuildCallToObjectOfClassType()
14842 CXXOperatorCallExpr *TheCall = in BuildOverloadedArrowExpr()
14843 CXXOperatorCallExpr::Create(Context, OO_Arrow, FnExpr.get(), Base, in BuildOverloadedArrowExpr()
H A DSemaConcept.cpp45 } else if (auto *OO = dyn_cast<CXXOperatorCallExpr>(E)) { in LogicalBinOp()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td117 def CXXOperatorCallExpr : StmtNode<CallExpr>;

123