diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2019-06-07 15:23:52 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2019-06-07 15:23:52 +0000 |
commit | b0f20f11fc53efde28fe24e43ff172c56739a8b0 (patch) | |
tree | 74b40c593e8439034e4e116221960c16c546bb13 /.gitattributes | |
parent | ca3075599a3c4ea5c627c292545a8c944d6382d7 (diff) | |
download | src-b0f20f11fc53efde28fe24e43ff172c56739a8b0.tar.gz src-b0f20f11fc53efde28fe24e43ff172c56739a8b0.zip |
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
Notes
Notes:
svn path=/head/; revision=348777
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 4d7b655b501e..11fec084166f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ *.hpp diff=cpp *.py diff=python . svn-properties=svn:keywords=tools/build/options/WITHOUT_LOADER_ZFS +.clang-format svn-properties=svn:keywords=FreeBSD=%H |