[PATCH] D13513: [clang-format] Stop alignment sequences on open braces and parens when aligning assignments.

Beren Minor via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 7 07:42:15 PDT 2015


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

This was done correctly when aligning the declarations, but not when aligning assignments.

FIXME: The code between assignments and declarations alignment is roughly duplicated and
would benefit from factorization.

Bug 25090: https://llvm.org/bugs/show_bug.cgi?id=25090

http://reviews.llvm.org/D13513

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13513.36742.patch
Type: text/x-patch
Size: 5157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151007/4a1114ff/attachment-0001.bin>


More information about the cfe-commits mailing list