Can clang-format align variable or macro assignments in columns?

It looks like 3.7 supports something like this (haven't tested yet).

From the docs

AlignConsecutiveAssignments (bool)
If true, aligns consecutive assignments.

This will align the assignment operators of consecutive lines. This will result in formattings like code int aaaa = 12; int b = 23; int ccc = 23; endcode

(sic)


Clang-format does not have any option to do this.

If you want to tell clang-format to leave certain lines alone, you can make it do so with // clang-format off and // clang-format on comments.