forked from OSchip/llvm-project
Used llvm_unreached to quite a VC++ compiler warning.
Differential Revision: http://reviews.llvm.org/D19489 llvm-svn: 267931
This commit is contained in:
parent
6108658da4
commit
6cd5364556
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue