[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
Tue Apr 5 05:25:44 PDT 2016
ioeric updated this revision to Diff 52676.
ioeric marked 14 inline comments as done.
ioeric added a comment.
- Refactored the code to reduce code duplication. Code styling. Moved test cases for Fixer into a new file FixTest.cpp.
- Added RangeManager to manage affected ranges. make empty namespace fixer delete tokens not in an affected line.
http://reviews.llvm.org/D18551
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/FormatToken.h
unittests/Format/CMakeLists.txt
unittests/Format/FixTest.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18551.52676.patch
Type: text/x-patch
Size: 39533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160405/0a3f0a42/attachment-0001.bin>
More information about the cfe-commits
mailing list