Daniel Jasper
|
ace92c4e2b
clang-format: Fix access to uninitialized memory.
|
10 жил өмнө |
Daniel Jasper
|
2a27967cd6
clang-format: Fix crasher caused by not properly setting dry-run.
|
10 жил өмнө |
Daniel Jasper
|
143cd925d8
clang-format: Understand single-line comments at the end of blocks.
|
10 жил өмнө |
Daniel Jasper
|
2d96dc85b7
clang-format: Refactoring.
|
10 жил өмнө |
Aaron Ballman
|
64b76d50f5
Reverting r222638; it broke the MSVC build bots because Visual Studio 2012 does not support variadic templates. Also reverting r222641 because it was relying on 222638.
|
10 жил өмнө |
Daniel Jasper
|
394c2aa84b
clang-format: Refactoring.
|
10 жил өмнө |
Daniel Jasper
|
63b00e2fde
clang-format: Fix bug introduced by r208392.
|
11 жил өмнө |
Daniel Jasper
|
394dfe8401
clang-format: Fix bug when aligning trailing /**/-comments in macros.
|
11 жил өмнө |
Alexander Kornienko
|
7350259076
Fix alignment of trailing block comments.
|
11 жил өмнө |
Daniel Jasper
|
2c79e2c95b
clang-format: Fix aligning of comments and escaped newlines in macros.
|
11 жил өмнө |
Daniel Jasper
|
0ce1c9ade7
clang-format: Improve clang-format's detection about comment binding.
|
11 жил өмнө |
Manuel Klimek
|
ae76f7f850
Support formatting of preprocessor branches.
|
12 жил өмнө |
Alexander Kornienko
|
6967e786df
Added a comment and another test for the UT_ForIndentation option
|
12 жил өмнө |
Alexander Kornienko
|
3d9ffcf3aa
Implemented tab usage only for indentation (http://llvm.org/PR17363)
|
12 жил өмнө |
Alexander Kornienko
|
acf8e90b22
Correctly indent with tabs when whitespace starts from the column not divisible by TabWidth.
|
12 жил өмнө |
Alexander Kornienko
|
2c2f729d10
When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment. This addresses http://llvm.org/PR17122
|
12 жил өмнө |
Alexander Kornienko
|
73d845cbe2
Support for CR LF newlines.
|
12 жил өмнө |
Alexander Kornienko
|
0b62cc30c9
Handle zero-width and double-width characters in string literals and comments.
|
12 жил өмнө |
Daniel Jasper
|
c9346c996c
clang-format: Fix infinite loop in macro special case.
|
12 жил өмнө |
Daniel Jasper
|
893ea8d0a6
clang-format: Make alignment of trailing comments optional ..
|
12 жил өмнө |
Daniel Jasper
|
2a409b6212
Reformat clang-format's source files after r185822 and others.
|
12 жил өмнө |
Daniel Jasper
|
cbe86cc538
Don't align "} // namespace" comments.
|
12 жил өмнө |
Alexander Kornienko
|
22d0e2985d
Fixes incorrect indentation of line comments after break and re-alignment.
|
12 жил өмнө |
Alexander Kornienko
|
2b2faa53ec
Insert a space at the start of a line comment in case it starts with an alphanumeric character.
|
12 жил өмнө |
Manuel Klimek
|
b398701e4c
The second step in the token refactoring.
|
12 жил өмнө |
Manuel Klimek
|
dcb3f2aab3
Make UnwrappedLines and AnnotatedToken contain pointers to FormatToken.
|
12 жил өмнө |
Manuel Klimek
|
de008c0f3b
Major refactoring of BreakableToken.
|
12 жил өмнө |
Manuel Klimek
|
854ca794c1
Fix aligning of comments.
|
12 жил өмнө |
Manuel Klimek
|
23ad339cdb
Fix aligning of comments that are at the start of the line.
|
12 жил өмнө |
Manuel Klimek
|
ebfb88c32a
Stop aligning trailing comments which are aligned with the next line.
|
12 жил өмнө |