Daniel Jasper
|
40fd5bf456
clang-format: Improve selective comment formatting.
|
9 年之前 |
Daniel Jasper
|
7a775e201b
This fixes https://llvm.org/bugs/show_bug.cgi?id=25329, as well as
|
9 年之前 |
Daniel Jasper
|
304dc5d780
[clang-format] Stop alignment sequences on open braces and parens when
|
10 年之前 |
Craig Topper
|
a0d8b00ee9
SourceRanges are small and trivially copyable, don't them by reference.
|
10 年之前 |
Daniel Jasper
|
d5adefdf2d
[clang-format] Add support of consecutive declarations alignment
|
10 年之前 |
Daniel Jasper
|
21b3f468fc
clang-format: Fix alignConsecutiveAssignments.
|
10 年之前 |
Benjamin Kramer
|
45aa4ad6e5
[Format] Skip creating temporary std::strings when filling another string.
|
10 年之前 |
Daniel Jasper
|
aea0264e0c
clang-format: Add ability to align assignment operators.
|
10 年之前 |
Manuel Klimek
|
6b570c1322
Make sure we initialize all values in WhitespaceManager::Change.
|
10 年之前 |
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 年之前 |