]> git.ipfire.org Git - thirdparty/linux.git/commit
clang-format: fix formatting of guard() and scoped_guard() statements
authorBart Van Assche <bvanassche@acm.org>
Mon, 13 Apr 2026 18:23:48 +0000 (11:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:41 +0000 (21:24 -0700)
commit99df2a8eba347e901e5355ee66bdb2ade76ff847
tree6ba481d1a9dd38b86ac5637842473ec8c69701d7
parent410002f8139cbf902f1567f0a8cbf0c5b6f43da2
clang-format: fix formatting of guard() and scoped_guard() statements

Without this patch clang-format formats guard() and scoped_guard()
statements as follows:

guard(...)(...)
{
...
}

With this patch clang-format formats guard() and scoped_guard()
statements as follows:

guard(...)(...) {
...
}

Link: https://lore.kernel.org/20260413182348.1865138-1-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
.clang-format