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:
Saleem Abdulrasool
2021-06-04 21:43:31 -07:00
parent 0634ffc1dd
commit 25f437e17d
26 changed files with 39 additions and 1 deletions

View File

@@ -661,6 +661,7 @@ AbstractionPattern::getObjCMethodAsyncCompletionHandlerType(
case Kind::ObjCCompletionHandlerArgumentsType:
swift_unreachable("not appropriate for this kind");
}
llvm_unreachable("covered switch");
}
AbstractionPattern