[Bitcode] Fix -Wswitch after c5ec8890c9
This commit is contained in:
@@ -730,6 +730,9 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
|
||||
llvm_unreachable("Can not encode end-attribute kinds marker.");
|
||||
case Attribute::None:
|
||||
llvm_unreachable("Can not encode none-attribute.");
|
||||
case Attribute::EmptyKey:
|
||||
case Attribute::TombstoneKey:
|
||||
llvm_unreachable("Trying to encode EmptyKey/TombstoneKey");
|
||||
}
|
||||
|
||||
llvm_unreachable("Trying to encode unknown attribute");
|
||||
|
||||
Reference in New Issue
Block a user