llvm-project/clang/unittests/Format
Eric Liu 4cfb88a936 Added Fixer implementation and fix() interface in clang-format for removing redundant code.
Summary:
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.

Reviewers: djasper, klimek

Subscribers: ioeric, mprobst, klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D18551

llvm-svn: 267416
2016-04-25 15:09:22 +00:00
..
CMakeLists.txt Added Fixer implementation and fix() interface in clang-format for removing redundant code. 2016-04-25 15:09:22 +00:00
CleanupTest.cpp Added Fixer implementation and fix() interface in clang-format for removing redundant code. 2016-04-25 15:09:22 +00:00
FormatTest.cpp Added Fixer implementation and fix() interface in clang-format for removing redundant code. 2016-04-25 15:09:22 +00:00
FormatTestJS.cpp clang-format: [JS] generator and async functions. 2016-04-24 22:05:09 +00:00
FormatTestJava.cpp clang-format: [Java] Remove unnecessary line break after complex annotations 2016-01-27 20:14:23 +00:00
FormatTestProto.cpp clang-format: [Proto] Basic support for options with <> for repeated fields. 2016-01-04 07:28:12 +00:00
FormatTestSelective.cpp clang-format: [JS] Make requoting of JavaScript string literals only 2016-03-17 13:03:41 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
SortIncludesTest.cpp clang-format: Make include sorting's main include detection configurable. 2016-03-21 14:11:27 +00:00