Eric Liu
|
57de589877
Make DeletedLines local variables in checkEmptyNamespace.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
cd5b63876f
[clang-format] append newline after code when inserting new headers at the end of the code which does not end with newline.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
04f6547d75
[clang-format] support header deletion in cleanupAroundReplacemnts.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
0a23fccbe3
Remove redundant comma around parenthesis in parameter list.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
09a0c48856
Also cleanup comments around redundant colons/commas in format::cleanup.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
85c0fa18d9
Implement tooling::Replacements as a class.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
a45abc6b0f
Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
c736d7a85f
[clang-format] do not add existing includes.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
e74555119f
[clang-format] make header guard identification stricter (with Lexer).
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
72e3b3b2a8
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
9ee9835de5
[clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
ff59e8e8dc
[clang-format] moved unit tests related to replacements cleaner from FormatTest.cpp to CleanUpTest.cpp.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
2c1064232f
Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.
|
%!s(int64=9) %!d(string=hai) anos |
Eric Liu
|
a433799777
Added Fixer implementation and fix() interface in clang-format for removing redundant code.
|
%!s(int64=9) %!d(string=hai) anos |