[PATCH] D19804: Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Fri May 13 02:37:23 PDT 2016


ioeric updated this revision to Diff 57145.
ioeric marked 4 inline comments as done.
ioeric added a comment.

- Use reviewer's awesome templates for checkPair().
- Remove checkConstructorInitList().
- Moved InCtorInitializer context setting before checking tok::comma so that InCtorInitializer context can be set even we have syntax error ":," around ctor colon.


http://reviews.llvm.org/D19804

Files:
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  unittests/Format/CleanupTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19804.57145.patch
Type: text/x-patch
Size: 9071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160513/2fa57d90/attachment.bin>


More information about the cfe-commits mailing list