forked from OSchip/llvm-project
Fix "fallthrough annotation in unreachable code" warning.
llvm-svn: 362171
This commit is contained in:
parent
d6b74cc859
commit
073f3f1609
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue