Used llvm_unreached to quite a VC++ compiler warning.
Differential Revision: http://reviews.llvm.org/D19489
llvm-svn: 267931
diff --git a/lldb/source/Expression/DiagnosticManager.cpp b/lldb/source/Expression/DiagnosticManager.cpp
index e0a5c49..5156ee3 100644
--- a/lldb/source/Expression/DiagnosticManager.cpp
+++ b/lldb/source/Expression/DiagnosticManager.cpp
@@ -8,6 +8,9 @@
//===----------------------------------------------------------------------===//
#include "lldb/Expression/DiagnosticManager.h"
+
+#include "llvm/Support/ErrorHandling.h"
+
#include "lldb/Core/Log.h"
#include "lldb/Core/StreamString.h"
@@ -45,6 +48,7 @@
case lldb_private::eDiagnosticSeverityRemark:
return "";
}
+ llvm_unreachable("switch needs another case for DiagnosticSeverity enum");
}
std::string