diff options
Diffstat (limited to 'llvm/lib/TextAPI/Platform.cpp')
-rw-r--r-- | llvm/lib/TextAPI/Platform.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/TextAPI/Platform.cpp b/llvm/lib/TextAPI/Platform.cpp index 728c45c..c3c7425 100644 --- a/llvm/lib/TextAPI/Platform.cpp +++ b/llvm/lib/TextAPI/Platform.cpp @@ -85,6 +85,7 @@ StringRef getPlatformName(PlatformType Platform) { case PLATFORM_DRIVERKIT: return "DriverKit"; } + llvm_unreachable("Unknown llvm::MachO::PlatformType enum"); } PlatformType getPlatformFromName(StringRef Name) { @@ -128,6 +129,7 @@ std::string getOSAndEnvironmentName(PlatformType Platform, case PLATFORM_DRIVERKIT: return "driverkit" + Version; } + llvm_unreachable("Unknown llvm::MachO::PlatformType enum"); } } // end namespace MachO. |