[PATCH] clang-format: Add ability to align assignment operators

Matt Oakes oakesm9 at gmail.com
Wed Apr 8 16:11:32 PDT 2015


Fixed some of the smaller issues. There are still problems with alignment of escaped newlines which needs tests and fixes. I also need to add test cases for lines with assignment operations within a for loop and with multiple assignments on one line.

I've sent this diff in now to keep track of the changes made so far.


http://reviews.llvm.org/D8821

Files:
  docs/ClangFormatStyleOptions.rst
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/WhitespaceManager.cpp
  lib/Format/WhitespaceManager.h
  unittests/Format/FormatTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8821.23452.patch
Type: text/x-patch
Size: 8816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150408/19bbe9c8/attachment.bin>


More information about the cfe-commits mailing list