summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/TextAPI/MachO/Platform.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/TextAPI/MachO/Platform.cpp b/llvm/lib/TextAPI/MachO/Platform.cpp
index ec62a9b3edb..66bb7df9aa5 100644
--- a/llvm/lib/TextAPI/MachO/Platform.cpp
+++ b/llvm/lib/TextAPI/MachO/Platform.cpp
@@ -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. \ No newline at end of file
+} // end namespace llvm.
OpenPOWER on IntegriCloud