Lines Matching refs:EvalStatus
421 Expr::EvalStatus &EvalStatus; member
510 EvalInfo(const ASTContext &C, Expr::EvalStatus &S, EvaluationMode Mode) in EvalInfo()
511 : Ctx(const_cast<ASTContext &>(C)), EvalStatus(S), CurrentCall(nullptr), in EvalInfo()
566 EvalStatus.Diag->push_back(std::make_pair(Loc, PD)); in addDiag()
567 return EvalStatus.Diag->back().second; in addDiag()
578 if (EvalStatus.Diag) { in Diag()
585 if (!EvalStatus.Diag->empty()) { in Diag()
590 if (!EvalStatus.HasSideEffects) in Diag()
611 EvalStatus.Diag->clear(); in Diag()
612 EvalStatus.Diag->reserve(1 + ExtraNotes + CallStackNotes); in Diag()
616 return OptionalDiagnostic(&(*EvalStatus.Diag)[0].second); in Diag()
625 if (EvalStatus.Diag) in Diag()
642 if (!EvalStatus.Diag || !EvalStatus.Diag->empty()) { in CCEDiag()
659 EvalStatus.Diag->insert(EvalStatus.Diag->end(), in addNotes()
685 EvalStatus.HasSideEffects = true; in noteSideEffect()
721 HadNoPriorDiags(Info.EvalStatus.Diag && in FoldConstant()
722 Info.EvalStatus.Diag->empty() && in FoldConstant()
723 !Info.EvalStatus.HasSideEffects), in FoldConstant()
732 if (Enabled && HadNoPriorDiags && !Info.EvalStatus.Diag->empty() && in ~FoldConstant()
733 !Info.EvalStatus.HasSideEffects) in ~FoldConstant()
734 Info.EvalStatus.Diag->clear(); in ~FoldConstant()
743 Expr::EvalStatus Old;
748 : Info(Info), Old(Info.EvalStatus) { in SpeculativeEvaluationRAII()
749 Info.EvalStatus.Diag = NewDiag; in SpeculativeEvaluationRAII()
752 Info.EvalStatus.HasSideEffects = true; in SpeculativeEvaluationRAII()
755 Info.EvalStatus = Old; in ~SpeculativeEvaluationRAII()
2691 (Info.EvalStatus.HasSideEffects || Info.keepEvaluatingAfterFailure())) in findCompleteObject()
6156 Expr::EvalStatus Status; in EvaluateBuiltinConstantP()
6556 OldEvalStatus = Info.EvalStatus; in startSpeculativeEval()
6557 Info.EvalStatus.Diag = nullptr; in startSpeculativeEval()
6562 StoredInfo->EvalStatus = OldEvalStatus; in ~Job()
6567 Expr::EvalStatus OldEvalStatus;
8540 Expr::EvalStatus EStatus; in EvaluateAsInitializer()
9084 Expr::EvalStatus Status; in isCXX11ConstantExpr()
9106 Expr::EvalStatus Status; in EvaluateWithSubstitution()
9116 if (Info.EvalStatus.HasSideEffects) in EvaluateWithSubstitution()
9123 return Evaluate(Value, Info, this) && !Info.EvalStatus.HasSideEffects; in EvaluateWithSubstitution()
9135 Expr::EvalStatus Status; in isPotentialConstantExpr()
9171 Expr::EvalStatus Status; in isPotentialConstantExprUnevaluated()