[lld] [lld] Adds support for xros. (PR #83031)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 08:53:03 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 99660082cb387c9bf7974fef558c5f73d8b5a198 6293ab8f5e654929cf42ed6e978d230cfb16c9dc -- lld/MachO/Driver.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp
index 16478d41cd..018ceec97f 100644
--- a/lld/MachO/Driver.cpp
+++ b/lld/MachO/Driver.cpp
@@ -1696,7 +1696,7 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS,
     config->zeroModTime = true;
 
   std::array<PlatformType, 4> encryptablePlatforms{
-    PLATFORM_IOS, PLATFORM_WATCHOS, PLATFORM_TVOS, PLATFORM_XROS};
+      PLATFORM_IOS, PLATFORM_WATCHOS, PLATFORM_TVOS, PLATFORM_XROS};
   config->emitEncryptionInfo =
       args.hasFlag(OPT_encryptable, OPT_no_encryption,
                    is_contained(encryptablePlatforms, config->platform()));

``````````

</details>


https://github.com/llvm/llvm-project/pull/83031


More information about the llvm-commits mailing list