Fix warning about covered switch default.
llvm-svn: 311129
This commit is contained in:
parent
a096b12628
commit
4c432b202f
|
@ -25,7 +25,7 @@ using namespace llvm::codeview;
|
||||||
using namespace llvm::pdb;
|
using namespace llvm::pdb;
|
||||||
|
|
||||||
static std::string getSymbolKindName(SymbolKind K) {
|
static std::string getSymbolKindName(SymbolKind K) {
|
||||||
switch (K) {
|
switch (uint32_t(K)) {
|
||||||
#define SYMBOL_RECORD(EnumName, value, name) \
|
#define SYMBOL_RECORD(EnumName, value, name) \
|
||||||
case EnumName: \
|
case EnumName: \
|
||||||
return #EnumName;
|
return #EnumName;
|
||||||
|
|
Loading…
Reference in New Issue