HomeFreeBSD

Add a basic clang-format configuration file

Description

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

Details

Provenance
arichardsonAuthored on
Reviewer
emaste
Differential Revision
D20533: Add a basic clang-format configuration file
Parents
rS348776: Teach readelf about some OpenBSD ELF program headers
Branches
Unknown
Tags
Unknown