Skip to content

Fix clang-format configuration according to checkpatch.pl

Mickaël Salaün lkml llvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 16 repliesIn review
  2. v11 patch 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clang-format: Update and extend the for_each list with tools/.clang-format+149 -281 reply
2/5clang-format: Update to clang-format >= 6.clang-format+18 -180 replies
3/5clang-format: Fix goto labels indentation.clang-format+1 -01 reply
4/5clang-format: Fix empty curly braces.clang-format+1 -16 replies
5/5clang-format: Fix space after for_each macros.clang-format+2 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix clang-format configuration according to checkpatch.pl

Hi,

This series brings some improvements to the clang-format configuration to make it compatible with the checkpatch.pl rules:
https://lore.kernel.org/r/[email protected]

I also found that the for_each issue has already been talk about here:
https://lore.kernel.org/lkml/CAHmME9ofzanQTBD_WYBRW49d+gM77rCdh8Utdk4+PM9n_bmKwA@mail.gmail.com/

I use these changes for Landlock.

This is based on v5.18-rc5.

Previous version:
https://lore.kernel.org/r/[email protected]

Regards,

Mickaël Salaün (5):
clang-format: Update and extend the for_each list with tools/
clang-format: Update to clang-format >= 6
clang-format: Fix goto labels indentation
clang-format: Fix empty curly braces
clang-format: Fix space after for_each macros

 .clang-format | 216 +++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 169 insertions(+), 47 deletions(-)

base-commit: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a

Signature · 1 line
2.35.1