]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set AlignTrailingComments in the clang-format config
authorAlex Richardson <arichardson@FreeBSD.org>
Thu, 10 Sep 2020 14:11:29 +0000 (14:11 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Thu, 10 Sep 2020 14:11:29 +0000 (14:11 +0000)
commit22a39a89129067ab2d3edd486f159ee668b52394
treeb3340a9c7ed8914cbf1817e52ca80dc054dcc367
parent8efceeb6ac90d58b19b04fa7900ed45659b82f2b
Set AlignTrailingComments in the clang-format config

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.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D26391
.clang-format