.clang-format: initial import from Linux 5.15.6
authorJoachim Wiberg <troglobit@gmail.com>
Thu, 23 Dec 2021 09:07:59 +0000 (10:07 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 1 Jan 2022 14:01:13 +0000 (15:01 +0100)
commit8fddaf36edc449c1239b75468cfe75be4cd5132f
treea24c26cd6a9bfd469f1aa2bca9932d4a17b72805
parente745c0b92db3db7008d066813e2529d2032986c4
.clang-format: initial import from Linux 5.15.6

Intended as an aid when working with in-tree C files, like makdevs.c.

Unlike for the kernel, which still has an 80-char limit line (but they
decided not to enforce it [0]), we set the limit to 132-char for us,
like we do for the python code (see ./.flake8).

[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bdc48fa11e46f867ea4d75fa59ee87a7f48be144

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
[yann.morin.1998@free.fr: use and explain the 132-char limit)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
.clang-format [new file with mode: 0644]
This page took 0.030961 seconds and 4 git commands to generate.