[clang] [clang-format] Option to Ignore Trailing Comment Length to AlignConsecutive (PR #190668)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 13:53:44 PDT 2026


================
@@ -326,10 +326,12 @@ IncrementChangeSpaces(unsigned Start, int Delta,
 // Column - The tokens indexed in Matches are moved to this column.
 // RightJustify - Whether it is the token's right end or left end that gets
 // moved to that column.
+// ForceAlignTrailingComments - whether trailing comments should be aligned
+// even if they have newlines before them
----------------
HazardyKnusperkeks wrote:

```suggestion
// even if they have newlines before them.
```

Comments end in full stop.

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


More information about the cfe-commits mailing list