[clang] [clang-format] Align trailing comments for function parameters (PR #164458)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 22 12:00:04 PDT 2025
================
@@ -399,6 +399,15 @@ AlignTokenSequence(const FormatStyle &Style, unsigned Start, unsigned End,
}
}
}
+
+ // The scope to be aligned may not occupy entire lines. The rest of the line
+ // needs some book-keeping.
+ for (unsigned i = End; i < Changes.size() && Changes[i].NewlinesBefore == 0;
----------------
sstwcw wrote:
The part is gone.
https://github.com/llvm/llvm-project/pull/164458
More information about the cfe-commits
mailing list