Alexander Kornienko
|
acf8e90b22
Correctly indent with tabs when whitespace starts from the column not divisible by TabWidth.
|
12 жил өмнө |
Daniel Jasper
|
6b3ff8c4ca
clang-format: Improve formatting of functions with multiple trailing tokens.
|
12 жил өмнө |
Daniel Jasper
|
48c099f454
clang-format: Fix formatting bug with comment in weird place.
|
12 жил өмнө |
Daniel Jasper
|
9b4de85e2f
clang-format: Option to removing the space before assignment operators.
|
12 жил өмнө |
Daniel Jasper
|
65da8e952d
clang-format: Improve address-of-operator detection
|
12 жил өмнө |
Daniel Jasper
|
ebaa1719fd
clang-format: Don't accidentally move tokens into preprocessor directive.
|
12 жил өмнө |
Daniel Jasper
|
42ff263c42
clang-format: Add comment to tests explaining their grouping.
|
12 жил өмнө |
Daniel Jasper
|
e63a48a21c
clang-format: Fix line breaking bug after empty ifs.
|
12 жил өмнө |
Daniel Jasper
|
26356ccf00
clang-format: Don't split a >>-operator.
|
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 жил өмнө |
Daniel Jasper
|
d3d9e0f4a1
clang-format: Fix bug in style option AlwaysBreakTemplateDeclarations.
|
12 жил өмнө |
Daniel Jasper
|
ac885cd602
clang-format: Detect braced lists in subscript expressions.
|
12 жил өмнө |
Daniel Jasper
|
5798120bc0
clang-format: Fix incorrect enum parsing / layouting.
|
12 жил өмнө |
Daniel Jasper
|
7e27400c90
clang-format: Fix bug in pointer detection
|
12 жил өмнө |
Alexander Kornienko
|
73d845cbe2
Support for CR LF newlines.
|
12 жил өмнө |
Alexander Kornienko
|
daa07e9ee7
Don't divide L and #x in macro definitions. Fixes http://llvm.org/PR17144
|
12 жил өмнө |
Alexander Kornienko
|
6f6154c5f5
Correctly calculate OriginalColumn after multi-line tokens.
|
12 жил өмнө |
Daniel Jasper
|
db8afe4249
clang-format: Understand function type typedefs with typeof.
|
12 жил өмнө |
Alexander Kornienko
|
83a7dcdf5f
Calculate and store ColumnWidth instead of CodePointCount in FormatTokens.
|
12 жил өмнө |
Daniel Jasper
|
14e25c0477
clang-format: Keep empty lines and format 1-line nested blocks.
|
12 жил өмнө |
Daniel Jasper
|
00e0f43150
clang-format: Fix regression introduced by r190038.
|
12 жил өмнө |
Daniel Jasper
|
e27dc5d8ab
clang-format: Format typed enums with nested names.
|
12 жил өмнө |
Daniel Jasper
|
520cca87e3
clang-format: Don't confuse operator[] with lambdas.
|
12 жил өмнө |
Alexander Kornienko
|
51bb5d967d
Don't remove trailing escaped newline from line comments.
|
12 жил өмнө |
Daniel Jasper
|
2f0a020d29
clang-format: Fix regression introduced by r189353.
|
12 жил өмнө |
Daniel Jasper
|
db4813a399
clang-format: Fix regression introduced by r189337.
|
12 жил өмнө |
Daniel Jasper
|
b77d741691
clang-format: Fix comment formatting bugs in nested blocks.
|
12 жил өмнө |
Manuel Klimek
|
e11e45f624
Fixes PR 17106 (explicitly typed enums are formatted differently).
|
12 жил өмнө |
Alexander Kornienko
|
0b62cc30c9
Handle zero-width and double-width characters in string literals and comments.
|
12 жил өмнө |
Daniel Jasper
|
2d65705ed0
clang-format: Quickfix for braced init lists detected as lambdas.
|
12 жил өмнө |