[clang] e4f951e - [clang][NFC] Fix typo in comment about Mac Catalyst

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 08:05:56 PST 2023


Author: Louis Dionne
Date: 2023-11-30T11:05:41-05:00
New Revision: e4f951e4eef6128a2e9d8fc103e4402315484d65

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

LOG: [clang][NFC] Fix typo in comment about Mac Catalyst

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/Darwin.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp
index 7c3d4982d8f6a8c..f09bc27d7d2c0e6 100644
--- a/clang/lib/Driver/ToolChains/Darwin.cpp
+++ b/clang/lib/Driver/ToolChains/Darwin.cpp
@@ -2073,7 +2073,7 @@ std::optional<DarwinPlatform> getDeploymentTargetFromTargetArg(
         continue;
       A->claim();
       // Accept a -target-variant triple when compiling code that may run on
-      // macOS or Mac Catalust.
+      // macOS or Mac Catalyst.
       if ((Triple.isMacOSX() && TVT.getOS() == llvm::Triple::IOS &&
            TVT.isMacCatalystEnvironment()) ||
           (TVT.isMacOSX() && Triple.getOS() == llvm::Triple::IOS &&


        


More information about the cfe-commits mailing list