Alexander Kornienko
|
2b2faa53ec
Insert a space at the start of a line comment in case it starts with an alphanumeric character.
|
12 years ago |
Alexander Kornienko
|
54e6c9d1f1
Improved handling of escaped newlines at the token start.
|
12 years ago |
Alexander Kornienko
|
2785b9aabc
Fixed calculation of penalty when breaking tokens.
|
12 years ago |
Daniel Jasper
|
65d2c38294
Fix incorrect line breaking before trailing block comments.
|
12 years ago |
Daniel Jasper
|
9acb8b4355
Fix clang-format's expression parser for leading }s.
|
12 years ago |
Daniel Jasper
|
ff1a2e519e
Improve c-style cast detection.
|
12 years ago |
NAKAMURA Takumi
|
07eda94336
clang/unittests/Format/FormatTest.cpp: Suppress utf8 literals with _MSC_VER. MS cl.exe is unaware of BOM-less utf8 source files.
|
12 years ago |
Alexander Kornienko
|
dda770b4a3
Added test with characters using four bytes in UTF-8 representation.
|
12 years ago |
Alexander Kornienko
|
00895106f9
UTF-8 support for clang-format.
|
12 years ago |
Daniel Jasper
|
15f33f03e7
Let clang-format remove empty lines before "}".
|
12 years ago |
Daniel Jasper
|
ce912f4566
Improve detection preventing certain kind of formatting patterns.
|
12 years ago |
Daniel Jasper
|
5ef8aacd5f
Fix line-breaking problem caused by comment.
|
12 years ago |
Daniel Jasper
|
0348be0c78
Improve recognition of template parameters.
|
12 years ago |
Daniel Jasper
|
b8b4295b4e
Improve clang-format's c-style cast detection.
|
12 years ago |
Daniel Jasper
|
f7ec1cc7f9
Improve clang-format's error recovery.
|
12 years ago |
Daniel Jasper
|
8893b8a28d
Make formatting of empty blocks more consistent.
|
12 years ago |
Daniel Jasper
|
c01897c3f6
Properly format nested conditional operators.
|
12 years ago |
Daniel Jasper
|
eb48366d41
Fix detection/formatting of braced lists in ternary expressions.
|
12 years ago |
Daniel Jasper
|
cb4b40b86e
More fixes for clang-format's multiline comment breaking.
|
12 years ago |
Daniel Jasper
|
920927016e
Fix another clang-format crasher related to multi-line comments.
|
12 years ago |
Daniel Jasper
|
e2c482f372
Fix crasher when formatting certain block comments.
|
12 years ago |
Manuel Klimek
|
be9ed776e5
Fixes error when splitting block comments.
|
12 years ago |
Daniel Jasper
|
c76d59d8ff
Add return missing in r182855.
|
12 years ago |
Daniel Jasper
|
7e70f4c09c
Leave some macros on their own line
|
12 years ago |
Daniel Jasper
|
bbc8776493
Add option to always break template declarations.
|
12 years ago |
Daniel Jasper
|
88959b764e
Support uniform inits in braced lists.
|
12 years ago |
Daniel Jasper
|
3ff4a2fea4
Fix formatting regression regarding pointers to arrays.
|
12 years ago |
Daniel Jasper
|
5ad390d27f
Initial support for designated initializers.
|
12 years ago |
Manuel Klimek
|
d63312b148
Disable tab expansion when counting the columns in block comments.
|
12 years ago |
Manuel Klimek
|
c5cc4bf269
Fixes indentation of empty lines in block comments.
|
12 years ago |