[PATCH] D18551: Added Fixer implementation and fix() interface in clang-format for removing redundant code.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 12:10:56 PDT 2016


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

- Change implementation of fixer to iterate by lines. TODO: refactor Formatter and Fixer to reduce duplication.


http://reviews.llvm.org/D18551

Files:
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/FormatToken.h
  lib/Format/TokenAnnotator.cpp
  lib/Format/TokenAnnotator.h
  unittests/Format/CMakeLists.txt
  unittests/Format/FixTest.cpp
  unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18551.52832.patch
Type: text/x-patch
Size: 40608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160406/666f525d/attachment-0001.bin>


More information about the cfe-commits mailing list