[llvm-branch-commits] [lld] [lld][MachO] Batch command-line object files and archive member scanning in parallel (PR #240984)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 10 12:06:40 PST 2026
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 origin/main HEAD --extensions h,cpp -- lld/MachO/Driver.cpp lld/MachO/InputFiles.cpp lld/MachO/InputFiles.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/MachO/InputFiles.cpp b/lld/MachO/InputFiles.cpp
index 74d52c095..62c577edc 100644
--- a/lld/MachO/InputFiles.cpp
+++ b/lld/MachO/InputFiles.cpp
@@ -2578,8 +2578,8 @@ void ArchiveFile::fetch(const object::Archive::Symbol &sym, bool deferParse) {
}
Expected<InputFile *>
-ArchiveFile::childToObjectFile(const llvm::object::Archive::Child &c,
- bool lazy, bool deferParse) {
+ArchiveFile::childToObjectFile(const llvm::object::Archive::Child &c, bool lazy,
+ bool deferParse) {
Expected<MemoryBufferRef> mb = c.getMemoryBufferRef();
if (!mb)
return mb.takeError();
``````````
</details>
https://github.com/llvm/llvm-project/pull/240984
More information about the llvm-branch-commits
mailing list