This simple test case (added to the unit tests) was failing to align, apparently due to the method(); on the last line:
int oneTwoThree = 123; int oneTwo = 12; method();
The unit tests are all passing, including this new one.
Differential D12369
[clang-format] Fix alignConsecutiveAssignments not working properly berenm on Aug 26 2015, 9:21 AM. Authored by
Details
Diff Detail Event TimelineComment Actions Adding Matt, the original author of the code. (also I don't have much time to review this or the other patch today, but will try to finish before the end of the week) Comment Actions This looks much better than the code I wrote. If all the unit tests are passing, the one change I can see to make is a misspelling in one of the comments. The rest looks excellent though!
Comment Actions Here it is, with the typos in comments corrected, and rebased over the latest trunk. Thanks for the review! Comment Actions I don't have credentials to commit it, anybody could do it for me if the diff is ok? Thanks! |
Nit: We instead of Wee