Home
last modified time | relevance | path

Searched refs:EvalStatus (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/lib/AST/Interp/
DState.cpp88 Expr::EvalStatus &EvalStatus = getEvalStatus(); in diag() local
89 if (EvalStatus.Diag) { in diag()
103 EvalStatus.Diag->clear(); in diag()
104 EvalStatus.Diag->reserve(1 + ExtraNotes + CallStackNotes); in diag()
109 return OptionalDiagnostic(&(*EvalStatus.Diag)[0].second); in diag()
DInterpState.h50 Expr::EvalStatus &getEvalStatus() const override { in getEvalStatus()
DState.h68 virtual Expr::EvalStatus &getEvalStatus() const = 0;
/external/clang/lib/AST/
DExprConstant.cpp441 Expr::EvalStatus &EvalStatus; member
541 EvalInfo(const ASTContext &C, Expr::EvalStatus &S, EvaluationMode Mode) in EvalInfo()
542 : Ctx(const_cast<ASTContext &>(C)), EvalStatus(S), CurrentCall(nullptr), in EvalInfo()
598 EvalStatus.Diag->push_back(std::make_pair(Loc, PD)); in addDiag()
599 return EvalStatus.Diag->back().second; in addDiag()
609 if (EvalStatus.Diag) { in Diag()
616 if (!EvalStatus.Diag->empty()) { in Diag()
643 EvalStatus.Diag->clear(); in Diag()
644 EvalStatus.Diag->reserve(1 + ExtraNotes + CallStackNotes); in Diag()
648 return OptionalDiagnostic(&(*EvalStatus.Diag)[0].second); in Diag()
[all …]
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp794 Expr::EvalStatus &EvalStatus; member in __anona656c3110311::EvalInfo
965 EvalInfo(const ASTContext &C, Expr::EvalStatus &S, EvaluationMode Mode) in EvalInfo()
966 : Ctx(const_cast<ASTContext &>(C)), EvalStatus(S), CurrentCall(nullptr), in EvalInfo()
1115 Expr::EvalStatus &getEvalStatus() const override { return EvalStatus; } in getEvalStatus()
1126 if (!EvalStatus.Diag->empty()) { in hasPriorDiagnostic()
1167 EvalStatus.HasSideEffects = true; in noteSideEffect()
1189 EvalStatus.HasUndefinedBehavior = true; in noteUndefinedBehavior()
1229 EvalStatus.HasSideEffects |= KeepGoing; in noteFailure()
1258 HadNoPriorDiags(Info.EvalStatus.Diag && in FoldConstant()
1259 Info.EvalStatus.Diag->empty() && in FoldConstant()
[all …]
/external/clang/include/clang/AST/
DExpr.h532 struct EvalStatus { struct
551 EvalStatus() in EvalStatus() argument
562 struct EvalResult : EvalStatus { argument
/external/llvm-project/clang/include/clang/AST/
DExpr.h578 struct EvalStatus { struct
597 EvalStatus() in EvalStatus() argument
608 struct EvalResult : EvalStatus { argument