Lines Matching defs:EvalInfo

437   struct EvalInfo {  struct
438 ASTContext &Ctx;
441 Expr::EvalStatus &EvalStatus;
444 CallStackFrame *CurrentCall;
447 unsigned CallStackDepth;
450 unsigned NextCallIndex;
455 unsigned StepsLeft;
459 CallStackFrame BottomFrame;
463 llvm::SmallVector<Cleanup, 16> CleanupStack;
467 APValue::LValueBase EvaluatingDecl;
471 APValue *EvaluatingDeclValue;
475 bool HasActiveDiagnostic;
479 bool HasFoldFailureDiagnostic;
482 bool IsSpeculativelyEvaluating;
484 enum EvaluationMode {
527 } EvalMode;
531 bool checkingPotentialConstantExpression() const { in checkingPotentialConstantExpression()
539 bool checkingForOverflow() { return EvalMode == EM_EvaluateForOverflow; } in checkingForOverflow()
541 EvalInfo(const ASTContext &C, Expr::EvalStatus &S, EvaluationMode Mode) in EvalInfo() function
551 void setEvaluatingDecl(APValue::LValueBase Base, APValue &Value) { in setEvaluatingDecl()
556 const LangOptions &getLangOpts() const { return Ctx.getLangOpts(); } in getLangOpts()
558 bool CheckCallLimit(SourceLocation Loc) { in CheckCallLimit()
575 CallStackFrame *getCallFrame(unsigned CallIndex) { in getCallFrame()
585 bool nextStep(const Stmt *S) { in nextStep()
596 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag()
606 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId, in Diag()
656 FFDiag(SourceLocation Loc, in FFDiag()
662 OptionalDiagnostic FFDiag(const Expr *E, diag::kind DiagId in FFDiag()
676 OptionalDiagnostic CCEDiag(SourceLocation Loc, diag::kind DiagId in CCEDiag()
687 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind DiagId in CCEDiag()
693 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) { in Note()
700 void addNotes(ArrayRef<PartialDiagnosticAt> Diags) { in addNotes()
709 bool keepEvaluatingAfterSideEffect() { in keepEvaluatingAfterSideEffect()
728 bool noteSideEffect() { in noteSideEffect()
734 bool keepEvaluatingAfterUndefinedBehavior() { in keepEvaluatingAfterUndefinedBehavior()
754 bool noteUndefinedBehavior() { in noteUndefinedBehavior()
761 bool keepEvaluatingAfterFailure() { in keepEvaluatingAfterFailure()
791 LLVM_ATTRIBUTE_UNUSED_RESULT bool noteFailure() { in noteFailure()
804 bool allowInvalidBaseExpr() const { in allowInvalidBaseExpr()