[DataLayout] Add llvm_unreachable to the default of a nested switch statement that covers all values given to it by the outer switch. NFC
llvm-svn: 303571
This commit is contained in:
@@ -307,7 +307,7 @@ void DataLayout::parseSpecifier(StringRef Desc) {
|
||||
case 'a': {
|
||||
AlignTypeEnum AlignType;
|
||||
switch (Specifier) {
|
||||
default:
|
||||
default: llvm_unreachable("Unexpected specifier!");
|
||||
case 'i': AlignType = INTEGER_ALIGN; break;
|
||||
case 'v': AlignType = VECTOR_ALIGN; break;
|
||||
case 'f': AlignType = FLOAT_ALIGN; break;
|
||||
|
||||
Reference in New Issue
Block a user