This seems to be fairly common in existing code and often looks better when
adding trailing comments to e.g. enumerators or array initializers.
See D26340 for more context.
Details
Details
- Reviewers
emaste imp - Commits
- rS365576: Set AlignTrailingComments in the clang-format config
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I'm curious how well this works in practice (i.e., it's often difficult to simultaneously address aligned comments and line length limits) but this is probably the right choice.