mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Used llvm_unreached to quite a VC++ compiler warning.
Differential Revision: http://reviews.llvm.org/D19489 llvm-svn: 267931
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user