aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Platform.cpp
diff options
context:
space:
mode:
authorSam Powell <sam@sampowell.dev>2021-05-11 09:57:52 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2021-05-11 09:59:26 -0700
commitcba508fb678798094a4fd668ce6bf4225fc73509 (patch)
tree9f9c985a275e5f7656e6344951f6941bb3f14e60 /llvm/lib/TextAPI/Platform.cpp
parent1c7c6f2b106250d63905d7cde99a4559f0bb4978 (diff)
downloadllvm-cba508fb678798094a4fd668ce6bf4225fc73509.zip
llvm-cba508fb678798094a4fd668ce6bf4225fc73509.tar.gz
llvm-cba508fb678798094a4fd668ce6bf4225fc73509.tar.bz2
[TextAPI] Reformat llvm_unreachable message
Change llvm_unreachable message from "Unknown llvm.MachO.PlatformKind enum" to "Unknown llvm::MachO::PlatformKind enum". Differential revision: https://reviews.llvm.org/D102250
Diffstat (limited to 'llvm/lib/TextAPI/Platform.cpp')
-rw-r--r--llvm/lib/TextAPI/Platform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TextAPI/Platform.cpp b/llvm/lib/TextAPI/Platform.cpp
index 2e6b885..038ad9d 100644
--- a/llvm/lib/TextAPI/Platform.cpp
+++ b/llvm/lib/TextAPI/Platform.cpp
@@ -29,7 +29,7 @@ PlatformKind mapToPlatformKind(PlatformKind Platform, bool WantSim) {
case PlatformKind::watchOS:
return WantSim ? PlatformKind::watchOSSimulator : PlatformKind::watchOS;
}
- llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
+ llvm_unreachable("Unknown llvm::MachO::PlatformKind enum");
}
PlatformKind mapToPlatformKind(const Triple &Target) {
@@ -87,7 +87,7 @@ StringRef getPlatformName(PlatformKind Platform) {
case PlatformKind::driverKit:
return "DriverKit";
}
- llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
+ llvm_unreachable("Unknown llvm::MachO::PlatformKind enum");
}
PlatformKind getPlatformFromName(StringRef Name) {