[llvm] 85d381e - [TextAPI] update DriverKit string value

Cyndy Ishida via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 15 06:47:21 PDT 2020


Author: Cyndy Ishida
Date: 2020-08-15T06:44:30-07:00
New Revision: 85d381eb02a2627c570ab99a4c586d279c012abd

URL: https://github.com/llvm/llvm-project/commit/85d381eb02a2627c570ab99a4c586d279c012abd
DIFF: https://github.com/llvm/llvm-project/commit/85d381eb02a2627c570ab99a4c586d279c012abd.diff

LOG: [TextAPI] update DriverKit string value

String value differed from downstream, where upstream doesn't depend on
casing difference.
<rdar://problem/67106257>

Added: 
    

Modified: 
    llvm/lib/TextAPI/MachO/Platform.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TextAPI/MachO/Platform.cpp b/llvm/lib/TextAPI/MachO/Platform.cpp
index a13d569d6f23..f454c1cb6b16 100644
--- a/llvm/lib/TextAPI/MachO/Platform.cpp
+++ b/llvm/lib/TextAPI/MachO/Platform.cpp
@@ -84,7 +84,7 @@ StringRef getPlatformName(PlatformKind Platform) {
   case PlatformKind::watchOSSimulator:
     return "watchOS Simulator";
   case PlatformKind::driverKit:
-    return "driverKit";
+    return "DriverKit";
   }
   llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
 }


        


More information about the llvm-commits mailing list