summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/ExprConstant.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 835938ab579..2412facf05c 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -652,6 +652,7 @@ namespace {
case EM_ConstantFold:
return false;
}
+ llvm_unreachable("Missed EvalMode case");
}
/// Note that we have had a side-effect, and determine whether we should
@@ -677,6 +678,7 @@ namespace {
case EM_IgnoreSideEffects:
return false;
}
+ llvm_unreachable("Missed EvalMode case");
}
};
OpenPOWER on IntegriCloud