]> git.ipfire.org Git - thirdparty/linux.git/commit - .clang-format
clang-format: Fix goto labels indentation
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:01:04 +0000 (18:01 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 20 May 2022 17:22:55 +0000 (19:22 +0200)
commitd7f6604341c748f803810664d5603af22b84a8cc
treeee2c37f97c828ec97a171d7e9775ad9fd67fa7a4
parent96232c7d4f847a5e597177236159e6b32ccf60e4
clang-format: Fix goto labels indentation

Thanks to IndentGotoLabels introduced with clang-format-10 [1], we can
avoid goto labels identation.  This follows the current coding style and
it is then in line with the checkpatch.pl rules [2].

Link: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
Link: https://lore.kernel.org/r/8b6b252b-47a6-9d52-f0bd-10d3bc4ad244@digikod.net
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Tom Rix <trix@redhat.com>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Link: https://lore.kernel.org/r/20220506160106.522341-4-mic@digikod.net
[Updated header comment to >= 10]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
.clang-format