]> git.ipfire.org Git - thirdparty/kmod.git/commit
clang-format: Override settings
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Sun, 8 Sep 2024 10:38:12 +0000 (11:38 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 9 Sep 2024 04:39:19 +0000 (23:39 -0500)
commit5fed5baea84cbf63700862ab096ac950ca1bc60e
treef113a4412d7aeea8bb8f2ae070b007ae3e66cf00
parente7d8503b877c14a1104aa195aba752c17c9f319f
clang-format: Override settings

- Define our own foreach macros
- Add defines for attributes. This also needs the minimum clang-format
  version to be raised so it has the AttributeMacros setting.
- Redefine a few settings related to max number of columns and
  penalties for breaking lines

v2
 - [Emil] update attributes list

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/118
.clang-format