User Details
- User Since
- Thu, Dec 31, 7:28 AM (2 w, 4 d)
Sat, Jan 16
Fixed documentation for the AlignConsecutive* options. I have used the suggested approach: Remove all documentation from AlignConsecutiveStyle and instead put the documentation of the possible values and what they do in the AlignConsecutive* options' docs.
Tue, Jan 12
Fixed formatting issue.
Sun, Jan 10
Fix merge conflict in the release notes.
This is now an all-in-one revision, including bit fields, assignments, declarations and macros. I did not reproduce the full "across empty lines, across comments, across empty lines *and* comments" test suite for all four of them, since they all use the same logic (and code, mostly). AlignConsecutiveAssignments is tested extensively, AlignConsecutiveBitFields and AlignConsecutiveDeclarations only have tests for AlignAcrossEmptyLinesAndComments (since they delegate to the same AlignTokens method), and AlignConsecutiveMacros has its own set of tests, since it uses a different implementation (of the same logic, basically).
- Unify the type of the options for AlignConsecutive{BitFields, Declarations, Assignments, Macros}
- Implement across-alignment for bit fields, declarations, assignments and macros
- Add tests for across-alignment for bit fields, declarations, assignments and macros
- Add changelog entry
Tue, Jan 5
Mon, Jan 4
Fix bogus default case reported by clang-tidy.
Address reviewer comments, noteworthy changes:
Sun, Jan 3
Address MyDeveloperDay's review comments.
Fix formatting issue resulting from ancient clang-format.
Two remarks, first: I made the change only for AlignConsecutiveAssignments, but I think it should be consistent for AlignConsecutiveMacros, AlignConsecutiveBitFields and AlignConsecutiveDeclarations, as well. If this change is accepted, I will make corresponding changes to the other three.