]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Update clang-format style with options added in newer versions alessio/clang-format
authorOndřej Surý <ondrej@isc.org>
Tue, 19 Aug 2025 06:00:20 +0000 (08:00 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 19 Aug 2025 06:00:20 +0000 (08:00 +0200)
commit0da10d8bbe6767e4140195f9b0cf039a30895354
treed74f4ae0baab4624b77e1e088cc7930b8c02a67d
parent018ff7b294f99992d5336664be17441d6708381c
parent255f484f4998822fe876fc512b79c502c4beb2d3
chg: dev: Update clang-format style with options added in newer versions

Add and apply InsertBraces statement to add missing curly braces around one-line statements and use ControlStatementsExceptControlMacros for SpaceBeforeParens to remove space between foreach macro and the brace, e.g. `FOREACH (x) {` becomes `FOREACH(x) {`.

Merge branch 'ondrej/update-clang-format' into 'main'

See merge request isc-projects/bind9!10863