[lld] [DRAFT][clang-format][lld] Run clang-format on lld (PR #80461)
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 16:47:57 PST 2024
================
@@ -833,7 +833,8 @@ constexpr std::pair<const char *, unsigned> typeMap[] = {
// "(TYPE=<value>)".
// Tok1 and Tok2 are next 2 tokens peeked. See comment for
// readSectionAddressType below.
-bool ScriptParser::readSectionDirective(OutputSection *cmd, StringRef tok1, StringRef tok2) {
+bool ScriptParser::readSectionDirective(OutputSection *cmd, StringRef tok1,
+ StringRef tok2) {
----------------
MatzeB wrote:
There is a big danger though that going too far of the current settings will put a lof of unnecessary churn on existing code (that was mostly formatted with the LLVM defaults). (At least I think it could be a lot more churn than the `AllowShortFunctionsOnASingleLine` I mentioned above...)
https://github.com/llvm/llvm-project/pull/80461
More information about the llvm-commits
mailing list