Re: [PATCH v1] clang-format: Fix formatting of guard()

From: Miguel Ojeda

Date: Wed Jul 08 2026 - 07:15:33 EST


On Wed, Jul 8, 2026 at 1:10 PM Mickaël Salaün <mic@xxxxxxxxxxx> wrote:
>
> What do you mean? Running clang-format -i security/landlock/*.[ch] does
> some changes.

I mean the command on the `.clang-format` file:

# Taken from:
# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*('
include/ tools/ \
# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \
# | LC_ALL=C sort -u

Cheers,
Miguel