1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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,6 +55,7 @@ StringRef getPlatformName(PlatformKind Platform) {
case PlatformKind::bridgeOS: case PlatformKind::bridgeOS:
return "bridgeOS"; return "bridgeOS";
} }
llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
} }
} // end namespace MachO. } // end namespace MachO.