Silencing some MSVC warnings about not all control paths returning a value when they actually do.
llvm-svn: 194156
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 835938a..2412fac 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -652,6 +652,7 @@
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 @@
case EM_IgnoreSideEffects:
return false;
}
+ llvm_unreachable("Missed EvalMode case");
}
};