forked from OSchip/llvm-project
Fix "not all control paths return a value" MSVC warnings. NFCI.
llvm-svn: 368829
This commit is contained in:
parent
544c2e3f8b
commit
8bba4798c2
|
@ -513,6 +513,7 @@ Value *coro::Shape::emitAlloc(IRBuilder<> &Builder, Value *Size,
|
|||
return Call;
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Unknown coro::ABI enum");
|
||||
}
|
||||
|
||||
void coro::Shape::emitDealloc(IRBuilder<> &Builder, Value *Ptr,
|
||||
|
@ -532,6 +533,7 @@ void coro::Shape::emitDealloc(IRBuilder<> &Builder, Value *Ptr,
|
|||
return;
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Unknown coro::ABI enum");
|
||||
}
|
||||
|
||||
LLVM_ATTRIBUTE_NORETURN
|
||||
|
|
Loading…
Reference in New Issue