From 948b51f8f89397d11dc83aa2a7609f20539cb2c6 Mon Sep 17 00:00:00 2001 From: Sam Powell Date: Tue, 11 May 2021 09:57:52 -0700 Subject: [PATCH] [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 --- lib/TextAPI/Platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/TextAPI/Platform.cpp b/lib/TextAPI/Platform.cpp index 2e6b8852cd6..038ad9d4e0e 100644 --- a/lib/TextAPI/Platform.cpp +++ b/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) {