[PATCH v2 0/2] clang-format: format short enums and macro definitions correctly

From: Michael Riesch via B4 Relay
Date: Thu Apr 10 2025 - 17:10:36 EST


Habidere,

These patches set two previously unset clang-format options to
(hopefully) sane values.

Looking forward to your comments!

Best regards,
Michael

Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxxx>
Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxx>
---
Changes in v2:
- collected Nathan's Reviewed-by
- rebased onto v6.15-rc1
- Link to v1: https://lore.kernel.org/r/20250210-clang-format-fixes-v1-0-9bcf43a4b4b2@xxxxxxxxxxxxxx

---
Michael Riesch (2):
clang-format: do not allow short enums on a single line
clang-format: align consecutive macros

.clang-format | 2 ++
1 file changed, 2 insertions(+)
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250210-clang-format-fixes-914ded0e682d

Best regards,
--
Michael Riesch <michael.riesch@xxxxxxxxxxxxx>