mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 373730
This commit is contained in:
parent
08c734c3f8
commit
bae3718e6a
@ -74,6 +74,7 @@ const char *getLinkageName(Linkage L) {
|
||||
case Linkage::Weak:
|
||||
return "weak";
|
||||
}
|
||||
llvm_unreachable("Unrecognized llvm.jitlink.Linkage enum");
|
||||
}
|
||||
|
||||
const char *getScopeName(Scope S) {
|
||||
@ -85,6 +86,7 @@ const char *getScopeName(Scope S) {
|
||||
case Scope::Local:
|
||||
return "local";
|
||||
}
|
||||
llvm_unreachable("Unrecognized llvm.jitlink.Scope enum");
|
||||
}
|
||||
|
||||
raw_ostream &operator<<(raw_ostream &OS, const Block &B) {
|
||||
|
Loading…
Reference in New Issue
Block a user