Skip to content

[clang-format] SkipMacroDefinitionBody breaks AlignConsecutiveMacros #134091

Open
@LekKit

Description

@LekKit

When enabling SkipMacroDefinitionBody, simple value definitions no longer get formatted properly via AlignConsecutiveMacros.

While it might be nontrivial, it might be a good idea to align indentation of macros that would be otherwise properly handled with AlignConsecutiveMacros, without actually formatting them. Or at least document that SkipMacroDefinitionBody and AlignConsecutiveMacros are mutually exclusive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions