Whilst it is possible to disable clang-format entirely in source comments with // clang-format off // clang-format on
Specifically what I'm trying to achieve right now is to allow AlignConsecutiveAssignments for enums that have assigned values, and to turn it off for all other places. It would be great to be able to switch this parameter (or give it flags as opposed to it being binary).
Does anybody know if this is possible or should I make a feature request?