[PATCH] clang-format: Add ability to align assignment operators
Matt Oakes
oakesm9 at gmail.com
Sun Apr 12 12:38:05 PDT 2015
Updated to fix problems with escaled newlines. Still to work on:
- Other assignment like `+=`
- Don't align for default parameters
- Switch to use `verifyFormat` when needed
- Ignore assignments within `for` and `if` statements
- Test multiple assigments on a single line
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.23658.patch
Type: text/x-patch
Size: 10197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150412/88990858/attachment.bin>
More information about the cfe-commits
mailing list