[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
Mon Apr 4 06:26:14 PDT 2016


ioeric updated this revision to Diff 52547.
ioeric added a comment.

- Added fix for empty namespace.
- Merge multiple continuous token deletions into one big replacement; minor code styling.
- refactored code to reduce redundancy.


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.52547.patch
Type: text/x-patch
Size: 35858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160404/0d46f1d0/attachment-0001.bin>


More information about the cfe-commits mailing list