aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* Clang-format: Avoid hardcoded LLVM include-order styleConrad Meyer2020-06-241-0/+6
| | | | | | | Reported by: emaste Notes: svn path=/head/; revision=362596
* Update .clang-format type and foreach macros listsConrad Meyer2020-06-241-24/+70
| | | | | | | | | | No functional change. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D25429 Notes: svn path=/head/; revision=362595
* Update .clang-format with style(9) header-sortingConrad Meyer2020-06-241-1/+48
| | | | | | | | | | Thanks to work done in the NetBSD clang-format project. No functional change. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D25428 Notes: svn path=/head/; revision=362590
* Add a basic clang-format configuration fileAlex Richardson2019-06-071-0/+77
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: svn path=/head/; revision=348777