Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
70b34533c22703b51a95598afceb58a0257d434b
/
clang
/
unittests
/
Format
/
CleanupTest.cpp
93459d3
[clang-format] revert an unintended change in r288493 and add a test case.
by Eric Liu
· 9 years ago
21d1032
[clang-format] calculate MaxInsertOffset in the original code correctly.
by Eric Liu
· 9 years ago
964782a
[ClangFormat] Only insert #include into the #include block in the beginning of the file.
by Eric Liu
· 9 years ago
5d8cdb8
[Format] Cleanup after replacing constructor body with = default
by Malcolm Parsons
· 9 years ago
7956c40
Make DeletedLines local variables in checkEmptyNamespace.
by Eric Liu
· 9 years ago
11a4237
[clang-format] append newline after code when inserting new headers at the end of the code which does not end with newline.
by Eric Liu
· 9 years ago
c0d3a80
[clang-format] support header deletion in cleanupAroundReplacemnts.
by Eric Liu
· 9 years ago
2574d15
Remove redundant comma around parenthesis in parameter list.
by Eric Liu
· 9 years ago
01426ff
Also cleanup comments around redundant colons/commas in format::cleanup.
by Eric Liu
· 9 years ago
40ef2fb
Implement tooling::Replacements as a class.
by Eric Liu
· 9 years ago
4f8d994
Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
by Eric Liu
· 9 years ago
3753f91
[clang-format] do not add existing includes.
by Eric Liu
· 9 years ago
3528832
[clang-format] make header guard identification stricter (with Lexer).
by Eric Liu
· 9 years ago
303baf5
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.
by Eric Liu
· 9 years ago
659afd5
[clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
by Eric Liu
· 9 years ago
1ef6845
[clang-format] moved unit tests related to replacements cleaner from FormatTest.cpp to CleanUpTest.cpp.
by Eric Liu
· 9 years ago
ce5e4bc
Make clang-format cleaner remove redundant commas in list and redundant colon in constructor initializer.
by Eric Liu
· 9 years ago
4cfb88a
Added Fixer implementation and fix() interface in clang-format for removing redundant code.
by Eric Liu
· 9 years ago