[PATCH] D21279: Fix some issues in clang-format's AlignConsecutive modes

Ben Harper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 6 20:40:44 PST 2017


bmharper updated this revision to Diff 87361.
bmharper added a comment.

This looks a lot better IMO. Thanks @daphnediane - you should recognize the code ;)
The special closing paren logic inside of nestingAndIndentLevel() is indeed redundant now.


https://reviews.llvm.org/D21279

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21279.87361.patch
Type: text/x-patch
Size: 15761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170207/5e2d7eaa/attachment.bin>


More information about the cfe-commits mailing list