Fix "fallthrough annotation in unreachable code" warning.

llvm-svn: 362171
This commit is contained in:
Richard Smith 2019-05-30 23:21:13 +00:00
parent d6b74cc859
commit 073f3f1609
1 changed files with 1 additions and 1 deletions

View File

@ -6971,7 +6971,7 @@ static bool handleFunctionTypeAttr(TypeProcessingState &state, ParsedAttr &attr,
switch (Proto->getExceptionSpecType()) {
case EST_None:
llvm_unreachable("This doesn't have an exception spec!");
LLVM_FALLTHROUGH;
case EST_DynamicNone:
case EST_BasicNoexcept:
case EST_NoexceptTrue: