Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp493 void transferAssignment(const CXXOperatorCallExpr *E, BoolValue &HasValueVal, in transferAssignment()
509 const CXXOperatorCallExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionAssignment()
518 void transferNulloptAssignment(const CXXOperatorCallExpr *E, in transferNulloptAssignment()
607 void transferOptionalAndValueCmp(const clang::CXXOperatorCallExpr *CmpExpr, in transferOptionalAndValueCmp()
685 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
688 .CaseOfCFGStmt<CXXOperatorCallExpr>(isOptionalNulloptAssignment(), in buildTransferMatchSwitch()
750 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
753 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
756 [](const clang::CXXOperatorCallExpr *Cmp, in buildTransferMatchSwitch()
760 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp49 bool CXXOperatorCallExpr::isInfixBinaryOp() const { in isInfixBinaryOp()
85 } else if (auto *BO = dyn_cast<CXXOperatorCallExpr>(E)) { in getDecomposedForm()
120 } else if (auto *BO = dyn_cast<CXXOperatorCallExpr>(E)) { in getDecomposedForm()
538 CXXOperatorCallExpr::CXXOperatorCallExpr(OverloadedOperatorKind OpKind, in CXXOperatorCallExpr() function in CXXOperatorCallExpr
553 CXXOperatorCallExpr::CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, in CXXOperatorCallExpr() function in CXXOperatorCallExpr
558 CXXOperatorCallExpr *
559 CXXOperatorCallExpr::Create(const ASTContext &Ctx, in Create()
569 alignof(CXXOperatorCallExpr)); in Create()
574 CXXOperatorCallExpr *CXXOperatorCallExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
582 alignof(CXXOperatorCallExpr)); in CreateEmpty()
[all …]
H A DExpr.cpp1517 return sizeof(CXXOperatorCallExpr); in offsetToTrailingObjects()
1621 if (isa<CXXOperatorCallExpr>(this)) in getBeginLoc()
1622 return cast<CXXOperatorCallExpr>(this)->getBeginLoc(); in getBeginLoc()
1630 if (isa<CXXOperatorCallExpr>(this)) in getEndLoc()
1631 return cast<CXXOperatorCallExpr>(this)->getEndLoc(); in getEndLoc()
2703 const CXXOperatorCallExpr *Op = cast<CXXOperatorCallExpr>(this); in isUnusedResultAWarning()
H A DStmtProfile.cpp1638 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, in DecodeOperatorCall()
1841 void StmtProfiler::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) { in VisitCXXOperatorCallExpr()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp72 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr()
127 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
H A DASTUtils.cpp47 if (auto *operatorCall = dyn_cast<CXXOperatorCallExpr>(E)) { in tryToFindPtrOrigin()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h906 static_assert(std::is_same<T, CXXOperatorCallExpr>::value ||
925 bool matchesSpecialized(const CXXOperatorCallExpr &Node) const {
1983 equivalentBinaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2064 equivalentUnaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2105 getLHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2115 getRHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2126 getSubExpr<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2188 inline std::optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) {
2206 std::is_same<T, CXXOperatorCallExpr>::value ||
2250 TypeList<BinaryOperator, CXXOperatorCallExpr,
[all …]
H A DASTMatchers.h3062 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl),
3067 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), in hasOverloadedOperatorName()
3082 CXXOperatorCallExpr, FunctionDecl),
5629 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5646 BinaryOperator, CXXOperatorCallExpr,
5668 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5689 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5702 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5718 BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5730 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
[all …]
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h115 SmallVector<Stmt *, 8> getStmtChildren(CXXOperatorCallExpr *CE) { in getStmtChildren()
H A DTextNodeDumper.h252 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *Node);
H A DExprCXX.h81 class CXXOperatorCallExpr final : public CallExpr {
92 CXXOperatorCallExpr(OverloadedOperatorKind OpKind, Expr *Fn,
97 CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, EmptyShell Empty);
100 static CXXOperatorCallExpr *
106 static CXXOperatorCallExpr *CreateEmpty(const ASTContext &Ctx,
/openbsd/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h51 class CXXOperatorCallExpr; variable
423 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexBody.cpp111 } else if (auto CXXOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in getRolesForRef()
365 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E, in TraverseCXXOperatorCallExpr()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGExprCXX.cpp43 isa<CXXOperatorCallExpr>(CE)); in commonEmitCXXMemberOrOperatorCall()
69 unsigned ArgsToSkip = isa<CXXOperatorCallExpr>(CE) ? 1 : 0; in commonEmitCXXMemberOrOperatorCall()
214 assert(isa<CXXMemberCallExpr>(CE) || isa<CXXOperatorCallExpr>(CE)); in EmitCXXMemberOrOperatorMemberCallExpr()
260 if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(CE)) { in EmitCXXMemberOrOperatorMemberCallExpr()
311 LValue RHS = isa<CXXOperatorCallExpr>(CE) in EmitCXXMemberOrOperatorMemberCallExpr()
484 CodeGenFunction::EmitCXXOperatorMemberCallExpr(const CXXOperatorCallExpr *E, in EmitCXXOperatorMemberCallExpr()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp189 if (const auto *OE = dyn_cast<CXXOperatorCallExpr>(AttrExp)) { in translateAttrExpr()
255 return translateCXXOperatorCallExpr(cast<CXXOperatorCallExpr>(S), Ctx); in translate()
454 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.cpp306 return CXXOperatorCallExpr::Create( in create_call_once_lambda_call()
/openbsd/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp887 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXOperatorCallExpr>
950 const internal::MapAnyOfMatcher<BinaryOperator, CXXOperatorCallExpr,
/openbsd/gnu/llvm/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp164 static syntax::NodeKind getOperatorNodeKind(const CXXOperatorCallExpr &E) { in getOperatorNodeKind()
1247 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in TraverseCXXOperatorCallExpr()
1270 bool WalkUpFromCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in WalkUpFromCXXOperatorCallExpr()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp150 } else if (const CXXOperatorCallExpr *Op = dyn_cast<CXXOperatorCallExpr>(E)) { in DiagnoseUnusedComparison()
1968 if (CXXOperatorCallExpr *Call = dyn_cast<CXXOperatorCallExpr>(Statement)) { in ProcessIterationStmt()
3111 while (!isa<CXXOperatorCallExpr>(E) && !isa<UnaryOperator>(E)) { in DiagnoseForRangeReferenceVariableCopies()
3128 const CXXOperatorCallExpr *Call = cast<CXXOperatorCallExpr>(E); in DiagnoseForRangeReferenceVariableCopies()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td117 def CXXOperatorCallExpr : StmtNode<CallExpr>;
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp574 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) { in VisitCXXOperatorCallExpr()

123