Lines Matching refs:EvalMode
523 } EvalMode; member
528 return EvalMode == EM_PotentialConstantExpression || in checkingPotentialConstantExpression()
529 EvalMode == EM_PotentialConstantExpressionUnevaluated; in checkingPotentialConstantExpression()
535 bool checkingForOverflow() { return EvalMode == EM_EvaluateForOverflow; } in checkingForOverflow()
544 HasFoldFailureDiagnostic(false), EvalMode(Mode) {} in EvalInfo()
613 switch (EvalMode) { in Diag()
695 switch (EvalMode) { in keepEvaluatingAfterSideEffect()
720 switch (EvalMode) { in keepEvaluatingAfterUndefinedBehavior()
750 switch (EvalMode) { in keepEvaluatingAfterFailure()
767 return EvalMode == EM_DesignatorFold; in allowInvalidBaseExpr()
784 OldMode(Info.EvalMode) { in FoldConstant()
786 (Info.EvalMode == EvalInfo::EM_ConstantExpression || in FoldConstant()
787 Info.EvalMode == EvalInfo::EM_ConstantExpressionUnevaluated)) in FoldConstant()
788 Info.EvalMode = EvalInfo::EM_ConstantFold; in FoldConstant()
795 Info.EvalMode = OldMode; in ~FoldConstant()
805 : Info(Info), OldMode(Info.EvalMode) { in FoldOffsetRAII()
807 Info.EvalMode = Subobject ? EvalInfo::EM_DesignatorFold in FoldOffsetRAII()
811 ~FoldOffsetRAII() { Info.EvalMode = OldMode; } in ~FoldOffsetRAII()
6583 switch (Info.EvalMode) { in VisitCallExpr()