Searched refs:EvalStatus (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang/lib/AST/Interp/ |
D | State.cpp | 88 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()
|
D | InterpState.h | 50 Expr::EvalStatus &getEvalStatus() const override { in getEvalStatus()
|
D | State.h | 68 virtual Expr::EvalStatus &getEvalStatus() const = 0;
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 441 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/ |
D | ExprConstant.cpp | 794 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/ |
D | Expr.h | 532 struct EvalStatus { struct 551 EvalStatus() in EvalStatus() argument 562 struct EvalResult : EvalStatus { argument
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 578 struct EvalStatus { struct 597 EvalStatus() in EvalStatus() argument 608 struct EvalResult : EvalStatus { argument
|