Manuel Klimek
|
ae76f7f850
Support formatting of preprocessor branches.
|
12 éve |
Daniel Jasper
|
1d82b1a33b
clang-format: Don't remove 'unknown' tokens.
|
12 éve |
Daniel Jasper
|
63cfb89cf7
clang-format: Remove empty lines after visibility modifiers.
|
12 éve |
Edwin Vane
|
f4e12c8c13
Moving style option formatting to libFormat
|
12 éve |
Alexander Kornienko
|
3d9ffcf3aa
Implemented tab usage only for indentation (http://llvm.org/PR17363)
|
12 éve |
Daniel Jasper
|
9b4de85e2f
clang-format: Option to removing the space before assignment operators.
|
12 éve |
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 éve |
Daniel Jasper
|
5798120bc0
clang-format: Fix incorrect enum parsing / layouting.
|
12 éve |
Alexander Kornienko
|
73d845cbe2
Support for CR LF newlines.
|
12 éve |
Alexander Kornienko
|
6f6154c5f5
Correctly calculate OriginalColumn after multi-line tokens.
|
12 éve |
Alexander Kornienko
|
83a7dcdf5f
Calculate and store ColumnWidth instead of CodePointCount in FormatTokens.
|
12 éve |
Daniel Jasper
|
14e25c0477
clang-format: Keep empty lines and format 1-line nested blocks.
|
12 éve |
Alexander Kornienko
|
51bb5d967d
Don't remove trailing escaped newline from line comments.
|
12 éve |
Daniel Jasper
|
2f0a020d29
clang-format: Fix regression introduced by r189353.
|
12 éve |
Daniel Jasper
|
b77d741691
clang-format: Fix comment formatting bugs in nested blocks.
|
12 éve |
Alexander Kornienko
|
0b62cc30c9
Handle zero-width and double-width characters in string literals and comments.
|
12 éve |
Daniel Jasper
|
1a925bce18
Address post-commit review comments from r190038.
|
12 éve |
Daniel Jasper
|
567dcf9542
clang-format: Enable formatting of nested blocks.
|
12 éve |
Alexander Kornienko
|
9321e87002
Handle 'Cpp03' and 'Cpp11' strings in LanguageStandard serialization for
|
12 éve |
Alexander Kornienko
|
4e65c98f67
Added WebKit style to the BasedOnStyle handling and to the relevant help messages.
|
12 éve |
Alexander Kornienko
|
4b762a91fa
Store first and last newline position in the token text for string literals and comments.
|
12 éve |
Alexander Kornienko
|
dcc0c5bb7c
Better support for multiline string literals (including C++11 raw string literals).
|
12 éve |
Manuel Klimek
|
c41e8198dc
Fixes various problems with accounting for tabs in the original code.
|
12 éve |
Daniel Jasper
|
f54617858a
clang-format: Improve token breaking behavior.
|
12 éve |
Daniel Jasper
|
259118e660
Work around unused variable warning in release builds.
|
12 éve |
Daniel Jasper
|
d4a03dbb0b
clang-format: Add column layout formatting for braced lists
|
12 éve |
Daniel Jasper
|
34f3d05d0e
clang-format: Indent relative to unary operators.
|
12 éve |
Daniel Jasper
|
7df56bfcf7
clang-format: Additional options for spaces around parentheses.
|
12 éve |
Daniel Jasper
|
6b2afe445b
Split UnwrappedLineFormatter into individual components.
|
12 éve |
Daniel Jasper
|
6315fec908
clang-format: Add option for the offset of constructor initializers.
|
12 éve |