Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp538 void transferAssignment(const CXXOperatorCallExpr *E, BoolValue &HasValueVal, in transferAssignment()
551 const CXXOperatorCallExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionAssignment()
561 void transferNulloptAssignment(const CXXOperatorCallExpr *E, in transferNulloptAssignment()
647 void transferOptionalAndOptionalCmp(const clang::CXXOperatorCallExpr *CmpExpr, in transferOptionalAndOptionalCmp()
665 void transferOptionalAndValueCmp(const clang::CXXOperatorCallExpr *CmpExpr, in transferOptionalAndValueCmp()
678 void transferOptionalAndNulloptCmp(const clang::CXXOperatorCallExpr *CmpExpr, in transferOptionalAndNulloptCmp()
744 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
747 .CaseOfCFGStmt<CXXOperatorCallExpr>(isOptionalNulloptAssignment(), in buildTransferMatchSwitch()
829 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
832 .CaseOfCFGStmt<CXXOperatorCallExpr>( in buildTransferMatchSwitch()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h902 static_assert(std::is_same<T, CXXOperatorCallExpr>::value ||
921 bool matchesSpecialized(const CXXOperatorCallExpr &Node) const {
2023 equivalentBinaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2104 equivalentUnaryOperator<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2145 getLHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2155 getRHS<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2166 getSubExpr<CXXOperatorCallExpr>(const CXXOperatorCallExpr &Node) {
2228 inline std::optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) {
2249 std::is_same<T, CXXOperatorCallExpr>::value ||
2276 static std::optional<StringRef> getOpName(const CXXOperatorCallExpr &Node) {
[all …]
H A DASTMatchers.h2063 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXOperatorCallExpr>
2977 extern const internal::MapAnyOfMatcher<BinaryOperator, CXXOperatorCallExpr,
3140 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl),
3145 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl), in hasOverloadedOperatorName()
3160 CXXOperatorCallExpr, FunctionDecl),
5900 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5918 BinaryOperator, CXXOperatorCallExpr,
5940 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5961 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER() argument
5974 AST_POLYMORPHIC_SUPPORTED_TYPES(BinaryOperator, CXXOperatorCallExpr, in AST_POLYMORPHIC_MATCHER_P() argument
[all …]
/freebsd/contrib/llvm-project/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()
591 CXXOperatorCallExpr::CXXOperatorCallExpr(OverloadedOperatorKind OpKind, in CXXOperatorCallExpr() function in CXXOperatorCallExpr
606 CXXOperatorCallExpr::CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, in CXXOperatorCallExpr() function in CXXOperatorCallExpr
611 CXXOperatorCallExpr *
612 CXXOperatorCallExpr::Create(const ASTContext &Ctx, in Create()
621 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, in Create()
622 alignof(CXXOperatorCallExpr)); in Create()
623 return new (Mem) CXXOperatorCallExpr(OpKind, Fn, Args, Ty, VK, OperatorLoc, in Create()
[all …]
H A DASTStructuralEquivalence.cpp454 const CXXOperatorCallExpr *E2) { in IsStructurallyEquivalent()
461 const CXXOperatorCallExpr *E1, in IsStructurallyEquivalent()
470 const CXXOperatorCallExpr *E2) { in IsStructurallyEquivalent()
478 const CXXOperatorCallExpr *E1, in IsStructurallyEquivalent()
500 if (const auto *E2CXXOperatorCall = dyn_cast<CXXOperatorCallExpr>(S2)) { in IsStructurallyEquivalent()
506 if (const auto *E1CXXOperatorCall = dyn_cast<CXXOperatorCallExpr>(S1)) { in IsStructurallyEquivalent()
H A DExpr.cpp1533 return sizeof(CXXOperatorCallExpr); in offsetToTrailingObjects()
1639 if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(this)) in getBeginLoc()
1648 if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(this)) in getEndLoc()
2733 const CXXOperatorCallExpr *Op = cast<CXXOperatorCallExpr>(this); in isUnusedResultAWarning()
H A DStmtProfile.cpp1685 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, in DecodeOperatorCall()
1889 void StmtProfiler::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) { in VisitCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp80 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr()
162 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
H A DASTUtils.cpp75 if (auto *operatorCall = dyn_cast<CXXOperatorCallExpr>(E)) { in tryToFindPtrOrigin()
H A DPtrTypesSemantics.cpp446 bool VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE) { in VisitCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h733 CXXStaticOperatorCall(const CXXOperatorCallExpr *CE, ProgramStateRef St, in CXXStaticOperatorCall()
744 const CXXOperatorCallExpr *getOriginExpr() const override { in getOriginExpr()
745 return cast<CXXOperatorCallExpr>(SimpleFunctionCall::getOriginExpr()); in getOriginExpr()
834 CXXMemberOperatorCall(const CXXOperatorCallExpr *CE, ProgramStateRef St, in CXXMemberOperatorCall()
845 const CXXOperatorCallExpr *getOriginExpr() const override { in getOriginExpr()
846 return cast<CXXOperatorCallExpr>(CXXInstanceCall::getOriginExpr()); in getOriginExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h115 SmallVector<Stmt *, 8> getStmtChildren(CXXOperatorCallExpr *CE) { in getStmtChildren()
H A DTextNodeDumper.h269 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,
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h51 class CXXOperatorCallExpr; variable
423 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp111 } else if (auto CXXOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in getRolesForRef()
379 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E, in TraverseCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp43 isa<CXXOperatorCallExpr>(CE)); in commonEmitCXXMemberOrOperatorCall()
70 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(CE)) { in commonEmitCXXMemberOrOperatorCall()
219 assert(isa<CXXMemberCallExpr>(CE) || isa<CXXOperatorCallExpr>(CE)); in EmitCXXMemberOrOperatorMemberCallExpr()
265 if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(CE)) { in EmitCXXMemberOrOperatorMemberCallExpr()
317 LValue RHS = isa<CXXOperatorCallExpr>(CE) in EmitCXXMemberOrOperatorMemberCallExpr()
492 CodeGenFunction::EmitCXXOperatorMemberCallExpr(const CXXOperatorCallExpr *E, in EmitCXXOperatorMemberCallExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp191 if (const auto *OE = dyn_cast<CXXOperatorCallExpr>(AttrExp)) { in translateAttrExpr()
257 return translateCXXOperatorCallExpr(cast<CXXOperatorCallExpr>(S), Ctx); in translate()
462 const CXXOperatorCallExpr *OCE, CallingContext *Ctx) { in translateCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp366 } else if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(Call)) { in handleGslAnnotatedTypes()
443 if (isa<CXXOperatorCallExpr>(Call) && Callee->isCXXInstanceMember()) { in visitLifetimeBoundArguments()
H A DSemaStmt.cpp156 } else if (const CXXOperatorCallExpr *Op = dyn_cast<CXXOperatorCallExpr>(E)) { in DiagnoseUnusedComparison()
2001 if (CXXOperatorCallExpr *Call = dyn_cast<CXXOperatorCallExpr>(Statement)) { in ProcessIterationStmt()
2959 while (!isa<CXXOperatorCallExpr>(E) && !isa<UnaryOperator>(E)) { in DiagnoseForRangeReferenceVariableCopies()
2976 const CXXOperatorCallExpr *Call = cast<CXXOperatorCallExpr>(E); in DiagnoseForRangeReferenceVariableCopies()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp164 static syntax::NodeKind getOperatorNodeKind(const CXXOperatorCallExpr &E) { in getOperatorNodeKind()
1248 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in TraverseCXXOperatorCallExpr()
1271 bool WalkUpFromCXXOperatorCallExpr(CXXOperatorCallExpr *S) { in WalkUpFromCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td117 def CXXOperatorCallExpr : StmtNode<CallExpr>;
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp561 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) { in VisitCXXOperatorCallExpr()

123