Open
Description
Currently AlignConsecutiveDeclarations
has AlignFunctionDeclarations
to enable/disable alignment for function. It'll be good idea to add similar options for variables and data members.
My work project consistently align data members, but use mixed formatting for variables, so it's necessary to enable alignment only for data members.
Same is true for AlignConsecutiveAssignments
.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
llvmbot commentedon Jun 12, 2025
@llvm/issue-subscribers-clang-format
Author: None (EugeneZelenko)
My work project consistently align data members, but use mixed formatting for variables, so it's necessary to enable alignment only for data members.
Same is true for
AlignConsecutiveAssignments
.