Silence a "not all control paths return" MSVC warning; NFC
This commit is contained in:
parent
b03f7c3365
commit
37f80101a9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue