[lld] [lld] clang-format sources (PR #183805)
Farid Zakaria via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 10:29:45 PDT 2026
fzakaria wrote:
I tried to scour the discourse.
I found examples of each individual projects doing large formatting on their own accord.
```
cat .git-blame-ignore-revs | grep format
# are looking for in a blame, such as mass reformatting or renaming.
# [libc++][NFC] clang-format <__config>
# Python black reformatting, by subdir. NFC
# [libc++][NFC] Apply clang-format on large parts of the code base
# [libc++][NFC] clang-format <shared_mutex>
# [NFC] clang-format utils/TableGen (#80973)
# [libc++][NFC] Run clang-format on libcxx/include again (#95874)
# NFC: clang-format test_demangle.pass.cpp but keep test "lines"
# [lldb][NFC] clang-format MainLoopPosix.cpp
# [clang-tidy][NFC] Run clang-format on "clang-tools-extra/clang-tidy"
```
I see lld has it's own clang-format file.
I can try to augment it match the changes so that the formatting matches preferred style.
As for this PR,
Want me to refer all but the Thunks.h ?
lld/ELF/Arch/X86_64.cpp, lld/ELF/Thunks.cpp, lld/ELF/Writer.cpp look worthwhile and positive additions to me also.
(largely aligning space in a array)
https://github.com/llvm/llvm-project/pull/183805
More information about the llvm-commits
mailing list