mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 08:41:19 +00:00
[Bitcode] Fix -Wswitch after c5ec8890c9
This commit is contained in:
1 parent
a1611b3737
commit
c0dac0221d
1 file changed
+3
@@ -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