]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a basic clang-format configuration file
authorarichardson <arichardson@FreeBSD.org>
Fri, 7 Jun 2019 15:23:52 +0000 (15:23 +0000)
committerarichardson <arichardson@FreeBSD.org>
Fri, 7 Jun 2019 15:23:52 +0000 (15:23 +0000)
commit28cb859563f43ccf755177235164e9ceb1e518b9
tree74b40c593e8439034e4e116221960c16c546bb13
parent1cb7944721e65b05cfa8b13ede794e3ed98f47b0
Add a basic clang-format configuration file

This gets reasonably close to the existing format in sys/kern but will
probably require some changes to upstream clang-format before it can be
used as the default formatting tool.

I tried formatting a few files in sys/kern and the result is pretty close to
the existing code. However, this configuration file is not ready to be used
without manually checking the output.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D20533
.clang-format [new file with mode: 0644]
.gitattributes