| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 442 const CXXOperatorCallExpr *OCE, CallingContext *Ctx) { in translateCXXOperatorCallExpr() argument 445 OverloadedOperatorKind k = OCE->getOperator(); in translateCXXOperatorCallExpr() 447 auto *E = translate(OCE->getArg(0), Ctx); in translateCXXOperatorCallExpr() 452 return translateCallExpr(cast<CallExpr>(OCE), Ctx); in translateCXXOperatorCallExpr()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 1174 auto *OCE = dyn_cast<CXXOperatorCallExpr>(E); in CheckFoldOperand() local 1175 if ((OCE && OCE->isInfixBinaryOp()) || isa<BinaryOperator>(E) || in CheckFoldOperand()
|
| H A D | SemaInit.cpp | 7021 } else if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(Call)) { in handleGslAnnotatedTypes() local 7022 FunctionDecl *Callee = OCE->getDirectCallee(); in handleGslAnnotatedTypes() 7025 VisitPointerArg(Callee, OCE->getArg(0), in handleGslAnnotatedTypes()
|
| H A D | SemaExpr.cpp | 15253 CXXOperatorCallExpr *OCE = dyn_cast<CXXOperatorCallExpr>(LHSExpr); in DiagnoseShiftCompare() local 15254 if (!OCE) in DiagnoseShiftCompare() 15257 FunctionDecl *FD = OCE->getDirectCallee(); in DiagnoseShiftCompare() 15268 SuggestParentheses(S, OCE->getOperatorLoc(), in DiagnoseShiftCompare() 15271 OCE->getSourceRange()); in DiagnoseShiftCompare() 15274 SourceRange(OCE->getArg(1)->getBeginLoc(), RHSExpr->getEndLoc())); in DiagnoseShiftCompare()
|
| H A D | SemaOpenMP.cpp | 20310 } else if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(SimpleExpr)) { in ActOnOpenMPDependClause() local 20311 OOK = OCE->getOperator(); in ActOnOpenMPDependClause() 20312 OOLoc = OCE->getOperatorLoc(); in ActOnOpenMPDependClause() 20313 LHS = OCE->getArg(/*Arg=*/0)->IgnoreParenImpCasts(); in ActOnOpenMPDependClause() 20314 RHS = OCE->getArg(/*Arg=*/1)->IgnoreParenImpCasts(); in ActOnOpenMPDependClause()
|
| H A D | SemaChecking.cpp | 16151 const auto *OCE = cast<CXXOperatorCallExpr>(expr); in CheckArrayAccess() local 16152 for (const auto *Arg : OCE->arguments()) in CheckArrayAccess()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 414 til::SExpr *translateCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE,
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 1775 const auto *OCE = cast<CXXOperatorCallExpr>(S); in Visit() local 1779 const Decl *Callee = OCE->getCalleeDecl(); in Visit() 1785 createTemporaryRegionIfNeeded(State, LCtx, OCE->getArg(0)); in Visit() 1787 Pred = Bldr.generateNode(OCE, Pred, NewState, /*tag=*/nullptr, in Visit()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 258 if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(CE)) { in EmitCXXMemberOrOperatorMemberCallExpr() local 259 if (OCE->isAssignmentOp()) { in EmitCXXMemberOrOperatorMemberCallExpr()
|
| H A D | CGExpr.cpp | 5429 if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(E)) { in EmitCall() local 5430 if (OCE->isAssignmentOp()) in EmitCall() 5433 switch (OCE->getOperator()) { in EmitCall()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 7415 auto *OCE = cast<ObjCBridgedCastExpr>(E); in VisitExplicitCastExpr() local 7416 ExpectedSLoc ToLParenLocOrErr = import(OCE->getLParenLoc()); in VisitExplicitCastExpr() 7419 ExpectedSLoc ToBridgeKeywordLocOrErr = import(OCE->getBridgeKeywordLoc()); in VisitExplicitCastExpr() 7423 *ToLParenLocOrErr, OCE->getBridgeKind(), E->getCastKind(), in VisitExplicitCastExpr() 8087 if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(E)) { in VisitCallExpr() local 8089 Importer.getToContext(), OCE->getOperator(), ToCallee, ToArgs, ToType, in VisitCallExpr() 8090 OCE->getValueKind(), ToRParenLoc, OCE->getFPFeatures(), in VisitCallExpr() 8091 OCE->getADLCallKind()); in VisitCallExpr()
|
| H A D | ExprConstant.cpp | 7671 auto *OCE = dyn_cast<CXXOperatorCallExpr>(E); in handleCallExpr() local 7672 if (OCE && OCE->isAssignmentOp()) { in handleCallExpr() 7697 if (Info.getLangOpts().CPlusPlus20 && OCE && in handleCallExpr() 7698 OCE->getOperator() == OO_Equal && MD->isTrivial() && in handleCallExpr()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 6967 if (const CXXOperatorCallExpr *OCE = in clang_getCursorReferenceNameRange() local 6969 const Expr *Callee = OCE->getCallee(); in clang_getCursorReferenceNameRange() 7361 if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(E)) { in GetSubscriptOrCallOperator() local 7362 const OverloadedOperatorKind Kind = OCE->getOperator(); in GetSubscriptOrCallOperator() 7364 return OCE; in GetSubscriptOrCallOperator() 7380 if (const auto *OCE = GetSubscriptOrCallOperator(Cursor)) { in DetermineChildActions() local 7381 const Expr *Callee = OCE->getCallee(); in DetermineChildActions()
|