[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 Mar 29 07:22:28 PDT 2016
ioeric created this revision.
ioeric added a reviewer: djasper.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
After applying replacements, redundant code like extra commas or empty namespaces
might be introduced. Fixer can detect and remove any redundant code introduced by replacements.
The current implementation only handles redundant commas.
http://reviews.llvm.org/D18551
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/FormatToken.h
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18551.51905.patch
Type: text/x-patch
Size: 21324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160329/6e84c141/attachment-0001.bin>
More information about the cfe-commits
mailing list