projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary default cases in switches that cover all enum values.
[oota-llvm.git]
/
include
/
llvm
/
Bitcode
/
BitCodes.h
diff --git
a/include/llvm/Bitcode/BitCodes.h
b/include/llvm/Bitcode/BitCodes.h
index 449dc35d7de2edcaeb3e1febf9d8f787b6a7fa2a..fdaec57b51339942c8cd6023a09cb52bed1a6902 100644
(file)
--- a/
include/llvm/Bitcode/BitCodes.h
+++ b/
include/llvm/Bitcode/BitCodes.h
@@
-114,7
+114,6
@@
public:
bool hasEncodingData() const { return hasEncodingData(getEncoding()); }
static bool hasEncodingData(Encoding E) {
switch (E) {
- default: assert(0 && "Unknown encoding");
case Fixed:
case VBR:
return true;