aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AST/ExprConstant.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index 2b9d13cec0..8c650290b5 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -2514,6 +2514,7 @@ static EvalStmtResult EvaluateLoopBody(APValue &Result, EvalInfo &Info,
case ESR_Returned:
return ESR;
}
+ llvm_unreachable("Invalid EvalStmtResult!");
}
// Evaluate a statement.