Silence a "not all control paths return" MSVC warning; NFC

This commit is contained in:
Aaron Ballman 2022-11-03 10:14:30 -04:00
parent b03f7c3365
commit 37f80101a9
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ static BlockCtorFn getCtorArrayPrim(PrimType Type) {
static BlockDtorFn getDtorArrayPrim(PrimType Type) {
TYPE_SWITCH(Type, return dtorArrayTy<T>);
llvm_unreachable("unknown Expr");
}
static BlockMoveFn getMoveArrayPrim(PrimType Type) {