[llvm] r322610 - Fix build error - 'default label in switch which covers all enumeration values'
Aaron Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 17:49:01 PST 2018
Author: asmith
Date: Tue Jan 16 17:49:01 2018
New Revision: 322610
URL: http://llvm.org/viewvc/llvm-project?rev=322610&view=rev
Log:
Fix build error - 'default label in switch which covers all enumeration values'
Modified:
llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
Modified: llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp?rev=322610&r1=322609&r2=322610&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp (original)
+++ llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp Tue Jan 16 17:49:01 2018
@@ -89,7 +89,5 @@ StringRef BuiltinDumper::getTypeName(con
return "HRESULT";
case PDB_BuiltinType::None:
return "...";
- default:
- return "void";
}
}
More information about the llvm-commits
mailing list