Yitzhak Mandelbaum
|
e71234de99
[clang-format] Fix cleanup of `AnnotatedLine` to include children nodes.
|
6 роки тому |
Eric Liu
|
62e3198c4f
[clang-format] Regroup #includes into blocks for Google style
|
6 роки тому |
Chandler Carruth
|
324f918438
Update the file headers across all of the LLVM projects in the monorepo
|
6 роки тому |
Eric Liu
|
3593417ce4
[Tooling] Pull #include manipulation code from clangFormat into libToolingCore.
|
7 роки тому |
Eric Liu
|
1084e05342
[clang-format] Refactor #include insertion/deletion functionality into a class.
|
7 роки тому |
Sylvestre Ledru
|
10aaabb25a
Unittests misc. typos
|
7 роки тому |
Martin Probst
|
ec038a4a53
clang-format: [JS] do not clean up duplicated commas.
|
8 роки тому |
Krasimir Georgiev
|
72e2426799
[clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC
|
8 роки тому |
Eric Liu
|
50dd7b04c5
[clang-format] revert an unintended change in r288493 and add a test case.
|
8 роки тому |
Eric Liu
|
10bd02d9c3
[clang-format] calculate MaxInsertOffset in the original code correctly.
|
8 роки тому |
Eric Liu
|
ca715740dc
[ClangFormat] Only insert #include into the #include block in the beginning of the file.
|
8 роки тому |
Malcolm Parsons
|
18aecc3bcf
[Format] Cleanup after replacing constructor body with = default
|
8 роки тому |
Eric Liu
|
57de589877
Make DeletedLines local variables in checkEmptyNamespace.
|
9 роки тому |
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.
|
9 роки тому |
Eric Liu
|
04f6547d75
[clang-format] support header deletion in cleanupAroundReplacemnts.
|
9 роки тому |
Eric Liu
|
0a23fccbe3
Remove redundant comma around parenthesis in parameter list.
|
9 роки тому |
Eric Liu
|
09a0c48856
Also cleanup comments around redundant colons/commas in format::cleanup.
|
9 роки тому |
Eric Liu
|
85c0fa18d9
Implement tooling::Replacements as a class.
|
9 роки тому |
Eric Liu
|
a45abc6b0f
Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
|
9 роки тому |
Eric Liu
|
c736d7a85f
[clang-format] do not add existing includes.
|
9 роки тому |
Eric Liu
|
e74555119f
[clang-format] make header guard identification stricter (with Lexer).
|
9 роки тому |
Eric Liu
|
72e3b3b2a8
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.
|
9 роки тому |
Eric Liu
|
9ee9835de5
[clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
|
9 роки тому |
Eric Liu
|
ff59e8e8dc
[clang-format] moved unit tests related to replacements cleaner from FormatTest.cpp to CleanUpTest.cpp.
|
9 роки тому |
Eric Liu
|
2c1064232f
Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.
|
9 роки тому |
Eric Liu
|
a433799777
Added Fixer implementation and fix() interface in clang-format for removing redundant code.
|
9 роки тому |