Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
303baf53 |
| 03-Jun-2016 |
Eric Liu <ioeric@google.com> |
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.
Summary: [clang-format] skip empty lines and comments in the top of the code when inserting new header
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.
Summary: [clang-format] skip empty lines and comments in the top of the code when inserting new headers.
Pair-programmed with @hokein
Reviewers: djasper
Subscribers: ioeric, cfe-commits, hokein, klimek
Differential Revision: http://reviews.llvm.org/D20898
llvm-svn: 271664
show more ...
|
#
659afd55 |
| 31-May-2016 |
Eric Liu <ioeric@google.com> |
[clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
Summary: When a replacement's offset is set to UINT_MAX or -1U, it is treated a
[clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
Summary: When a replacement's offset is set to UINT_MAX or -1U, it is treated as a header insertion replacement by cleanupAroundReplacements(). The new #include directive is then inserted into the correct block.
Reviewers: klimek, djasper
Subscribers: klimek, cfe-commits, bkramer
Differential Revision: http://reviews.llvm.org/D20734
llvm-svn: 271276
show more ...
|
#
1ef68456 |
| 27-May-2016 |
Eric Liu <ioeric@google.com> |
[clang-format] moved unit tests related to replacements cleaner from FormatTest.cpp to CleanUpTest.cpp.
llvm-svn: 270971
|
#
ce5e4bc7 |
| 18-May-2016 |
Eric Liu <ioeric@google.com> |
Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.
Summary: Make clang-format cleaner remove redundant commas/colons in constructor initializer
Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.
Summary: Make clang-format cleaner remove redundant commas/colons in constructor initializer list.
Reviewers: klimek, djasper
Subscribers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D19804
llvm-svn: 269888
show more ...
|
#
4cfb88a9 |
| 25-Apr-2016 |
Eric Liu <ioeric@google.com> |
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 introd
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
show more ...
|