1
0
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: 372416
This commit is contained in:
Simon Pilgrim 2019-09-20 18:10:17 +00:00
parent f120f5204a
commit 01e34ad2fb

View File

@ -55,7 +55,8 @@ StringRef getPlatformName(PlatformKind Platform) {
case PlatformKind::bridgeOS:
return "bridgeOS";
}
llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
}
} // end namespace MachO.
} // end namespace llvm.
} // end namespace llvm.