mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
mark some switches as covered (NFCI)
Unfortunately, MSVC does not detect covered switches as clang. Mark some of the switches as covered to avoid an unnecessary warning from MSVC.
This commit is contained in:
@@ -661,6 +661,7 @@ AbstractionPattern::getObjCMethodAsyncCompletionHandlerType(
|
||||
case Kind::ObjCCompletionHandlerArgumentsType:
|
||||
swift_unreachable("not appropriate for this kind");
|
||||
}
|
||||
llvm_unreachable("covered switch");
|
||||
}
|
||||
|
||||
AbstractionPattern
|
||||
|
||||
Reference in New Issue
Block a user