[PATCH] D102250: [TextAPI] Reformat llvm_unreachable message

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 10:00:08 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcba508fb6787: [TextAPI] Reformat llvm_unreachable message (authored by spowell, committed by JDevlieghere).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102250/new/

https://reviews.llvm.org/D102250

Files:
  llvm/lib/TextAPI/Platform.cpp


Index: llvm/lib/TextAPI/Platform.cpp
===================================================================
--- llvm/lib/TextAPI/Platform.cpp
+++ llvm/lib/TextAPI/Platform.cpp
@@ -29,7 +29,7 @@
   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 @@
   case PlatformKind::driverKit:
     return "DriverKit";
   }
-  llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
+  llvm_unreachable("Unknown llvm::MachO::PlatformKind enum");
 }
 
 PlatformKind getPlatformFromName(StringRef Name) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102250.344451.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210511/799abddf/attachment.bin>


More information about the llvm-commits mailing list