mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Fix 'not all control paths return a value' MSVC warning. NFCI.
llvm-svn: 327502
This commit is contained in:
parent
bafa38cd94
commit
141985c26b
@ -1616,6 +1616,7 @@ LLVMUnnamedAddr LLVMGetUnnamedAddress(LLVMValueRef Global) {
|
||||
case GlobalVariable::UnnamedAddr::Global:
|
||||
return LLVMGlobalUnnamedAddr;
|
||||
}
|
||||
llvm_unreachable("Unknown UnnamedAddr kind!");
|
||||
}
|
||||
|
||||
void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr) {
|
||||
|
Loading…
Reference in New Issue
Block a user