mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
handle the unhandled case in the switch.
Swift SVN r15487
This commit is contained in:
@@ -818,6 +818,8 @@ static Type DecodeIntrinsicType(ArrayRef<llvm::Intrinsic::IITDescriptor> &Table,
|
||||
IITDescriptor D = Table.front();
|
||||
Table = Table.slice(1);
|
||||
switch (D.Kind) {
|
||||
default:
|
||||
llvm_unreachable("Unhandled case");
|
||||
case IITDescriptor::Half:
|
||||
case IITDescriptor::MMX:
|
||||
case IITDescriptor::Metadata:
|
||||
|
||||
Reference in New Issue
Block a user