Used llvm_unreached to quite a VC++ compiler warning.

Differential Revision: http://reviews.llvm.org/D19489

llvm-svn: 267931
This commit is contained in:
Adrian McCarthy 2016-04-28 20:14:44 +00:00
parent 6108658da4
commit 6cd5364556
1 changed files with 4 additions and 0 deletions

View File

@ -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 @@ StringForSeverity(DiagnosticSeverity severity)
case lldb_private::eDiagnosticSeverityRemark:
return "";
}
llvm_unreachable("switch needs another case for DiagnosticSeverity enum");
}
std::string