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

Michael Riesch via B4 Relay posted 2 patches 10 months ago
.clang-format | 2 ++
1 file changed, 2 insertions(+)
[PATCH v2 0/2] clang-format: format short enums and macro definitions correctly
Posted by Michael Riesch via B4 Relay 10 months ago
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@wolfvision.net>
Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
---
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@wolfvision.net

---
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@collabora.com>
Re: [PATCH v2 0/2] clang-format: format short enums and macro definitions correctly
Posted by Michael Riesch 9 months, 1 week ago
Hi all,

On 4/10/25 22:58, Michael Riesch via B4 Relay wrote:
> 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@wolfvision.net>
> Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
> ---
> 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@wolfvision.net
> 
> ---
> 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,

Gentle ping.

Can these patches be applied?

Thanks and best regards,
Michael