[PATCH] D12369: [clang-format] Fix alignConsecutiveAssignments not working properly

Beren Minor via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 09:21:23 PDT 2015


berenm created this revision.
berenm added a reviewer: djasper.
berenm added a subscriber: cfe-commits.
Herald added a subscriber: klimek.

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();
```

http://reviews.llvm.org/D12369

Files:
  lib/Format/WhitespaceManager.cpp
  unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12369.33210.patch
Type: text/x-patch
Size: 5426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150826/728a502b/attachment.bin>


More information about the cfe-commits mailing list