Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
e38ea680ccb9d6ab82e07bfa7a05055ce46cda4f
/
clang
/
unittests
/
Format
/
FormatTest.cpp
ffefb3d
clang-format: Initial (incomplete) support for the WebKit coding style.
by Daniel Jasper
· 12 years ago
998cabc
clang-format: Fix bad line break with pointers to members.
by Daniel Jasper
· 12 years ago
ee6d650
clang-format: Add space in corner case.
by Daniel Jasper
· 12 years ago
c834c70
Improve line breaking before multi-line strings.
by Daniel Jasper
· 12 years ago
9404234
Avoid breaking non-trailing block comments.
by Alexander Kornienko
· 12 years ago
657c67b
Don't break line comments with escaped newlines.
by Alexander Kornienko
· 12 years ago
8369aa5
clang-format: Improve handling of unterminated string literals.
by Daniel Jasper
· 12 years ago
6ab5468
Revamp the formatting of C++11 braced init lists.
by Daniel Jasper
· 12 years ago
655d96a
clang-format: Improve detection of function types.
by Daniel Jasper
· 12 years ago
49a9448
clang-format: Improve c-style cast detection.
by Daniel Jasper
· 12 years ago
fa21c07
Improvement of change r186320.
by Daniel Jasper
· 12 years ago
0d5e44d
Improve formatting of operator<< chains.
by Daniel Jasper
· 12 years ago
77d5d31
clang-format: Improve <<-formatting.
by Daniel Jasper
· 12 years ago
5aad4e5
clang-format: Fix string literal breaking.
by Daniel Jasper
· 12 years ago
aea3bde
clang-format: Break before/between array subscript expressions.
by Daniel Jasper
· 12 years ago
51efbad
clang-format: Fix bug concerning the alignment of "}".
by Daniel Jasper
· 12 years ago
718bd36
clang-format: Break before trailing annotations.
by Daniel Jasper
· 12 years ago
4e9678f
clang-format: Avoid line breaks before the first <<.
by Daniel Jasper
· 12 years ago
a3501d4
Improve detection of trailing return types.
by Daniel Jasper
· 12 years ago
185de24
Fix indentation problem for comments in call chains
by Daniel Jasper
· 12 years ago
40db06a
Keep trailing annotations close to their argument.
by Daniel Jasper
· 12 years ago
b10cbc4
Add experimental flag for adaptive parameter bin-packing.
by Daniel Jasper
· 12 years ago
6cdec7c
Initial support for formatting trailing return types.
by Daniel Jasper
· 12 years ago
bd05888
Avoid confusing indentations for chained function calls.
by Daniel Jasper
· 12 years ago
b1f74a8
Fix alignment of closing brace in braced initializers.
by Daniel Jasper
· 12 years ago
6331da0
Format overloaded operators like other functions.
by Daniel Jasper
· 12 years ago
6a09df7
Fix incorrect incorrect cast identification in clang-format.
by Daniel Jasper
· 12 years ago
ee7539a
Prefer similar line breaks.
by Daniel Jasper
· 12 years ago
614d96a
Fix for corner cases in code handling leading "* " decorations in block comments
by Alexander Kornienko
· 12 years ago
6f9c8d2
Fix formatting for allocation of new pointer variables.
by Daniel Jasper
· 12 years ago
0e90c3d
Improve detection for preventing certain kind of formatting patterns.
by Daniel Jasper
· 12 years ago
1bc1b50
Don't break after a "(" following a binary operator.
by Daniel Jasper
· 12 years ago
5861171
Added AlwaysBreakBeforeMultilineStrings option.
by Alexander Kornienko
· 12 years ago
7ae41cd
Don't insert confusing line breaks in comparisons.
by Daniel Jasper
· 12 years ago
dba1c55
Fix formatting of long declarations with const type.
by Daniel Jasper
· 12 years ago
ca7bd72
Fix incorrect token counting introduced by r185319.
by Daniel Jasper
· 12 years ago
aa620e1
Avoid column limit violation in block comments in certain cases.
by Alexander Kornienko
· 12 years ago
251b3c9
Don't align "} // namespace" comments.
by Daniel Jasper
· 12 years ago
bafa6b7
Don't add an extra space before ellipsis after pointers.
by Daniel Jasper
· 12 years ago
022612d
Keep space between pointer and block comment.
by Daniel Jasper
· 12 years ago
7f5d53e
Fix braced-list detection in lieu of trailing comments.
by Daniel Jasper
· 12 years ago
1e80887
Use lexing mode based on FormatStyle.Standard.
by Alexander Kornienko
· 12 years ago
8084cff
Formatter: Don't put a space after parameter-naming block comments.
by Nico Weber
· 12 years ago
ec9e410
Formatter/ObjC: Correctly format casts in objc message send expressions.
by Nico Weber
· 12 years ago
e8d7824
Formatter/Objc: Add a test that checks that @import is formatted correctly.
by Nico Weber
· 12 years ago
34a87e8
Fixed typo.
by Alexander Kornienko
· 12 years ago
836c286
Add an option to not indent declarations when breaking after the type.
by Manuel Klimek
· 12 years ago
b93062e
Use the same set of whitespace characters for all operations in BreakableToken.
by Alexander Kornienko
· 12 years ago
a3555e2
Fixed long-standing issue with incorrect length calculation of multi-line comments.
by Alexander Kornienko
· 12 years ago
7285207
Split long strings on word boundaries.
by Alexander Kornienko
· 12 years ago
afaa8f5
Fix a problem in ExpressionParser leading to trailing comments affecting indentation of an expression after a line break.
by Alexander Kornienko
· 12 years ago
4d26b6e
Fixes incorrect indentation of line comments after break and re-alignment.
by Alexander Kornienko
· 12 years ago
be63390
Don't remove backslashes from block comments.
by Alexander Kornienko
· 12 years ago
f370ad9
Preserve newlines before block comments in static initializers.
by Alexander Kornienko
· 12 years ago
555efc3
Insert a space at the start of a line comment in case it starts with an alphanumeric character.
by Alexander Kornienko
· 12 years ago
ee4ca9b
Improved handling of escaped newlines at the token start.
by Alexander Kornienko
· 12 years ago
dd7ece5
Fixed calculation of penalty when breaking tokens.
by Alexander Kornienko
· 12 years ago
61a4078
Fix incorrect line breaking before trailing block comments.
by Daniel Jasper
· 12 years ago
6dcecb6
Fix clang-format's expression parser for leading }s.
by Daniel Jasper
· 12 years ago
0586637
Improve c-style cast detection.
by Daniel Jasper
· 12 years ago
5238eba
clang/unittests/Format/FormatTest.cpp: Suppress utf8 literals with _MSC_VER. MS cl.exe is unaware of BOM-less utf8 source files.
by NAKAMURA Takumi
· 12 years ago
ff73c20
Added test with characters using four bytes in UTF-8 representation.
by Alexander Kornienko
· 12 years ago
ffcc010
UTF-8 support for clang-format.
by Alexander Kornienko
· 12 years ago
1027c6e
Let clang-format remove empty lines before "}".
by Daniel Jasper
· 12 years ago
8050395
Improve detection preventing certain kind of formatting patterns.
by Daniel Jasper
· 12 years ago
68d888c
Fix line-breaking problem caused by comment.
by Daniel Jasper
· 12 years ago
d589391
Improve recognition of template parameters.
by Daniel Jasper
· 12 years ago
da6f225
Improve clang-format's c-style cast detection.
by Daniel Jasper
· 12 years ago
393564f
Improve clang-format's error recovery.
by Daniel Jasper
· 12 years ago
a9eb2aa
Make formatting of empty blocks more consistent.
by Daniel Jasper
· 12 years ago
2c611c0
Properly format nested conditional operators.
by Daniel Jasper
· 12 years ago
5648cb3
Fix detection/formatting of braced lists in ternary expressions.
by Daniel Jasper
· 12 years ago
ce257f2
More fixes for clang-format's multiline comment breaking.
by Daniel Jasper
· 12 years ago
58dd2f0
Fix another clang-format crasher related to multi-line comments.
by Daniel Jasper
· 12 years ago
51fb2b2
Fix crasher when formatting certain block comments.
by Daniel Jasper
· 12 years ago
ae1fbfb
Fixes error when splitting block comments.
by Manuel Klimek
· 12 years ago
41a0f78
Add return missing in r182855.
by Daniel Jasper
· 12 years ago
40e1921
Leave some macros on their own line
by Daniel Jasper
· 12 years ago
61e6bbf
Add option to always break template declarations.
by Daniel Jasper
· 12 years ago
1ec3106
Support uniform inits in braced lists.
by Daniel Jasper
· 12 years ago
4d03d3b
Fix formatting regression regarding pointers to arrays.
by Daniel Jasper
· 12 years ago
bca4bbe
Initial support for designated initializers.
by Daniel Jasper
· 12 years ago
34d1515
Disable tab expansion when counting the columns in block comments.
by Manuel Klimek
· 12 years ago
281dcbe
Fixes indentation of empty lines in block comments.
by Manuel Klimek
· 12 years ago
3719428
Clean up formatting of function types.
by Daniel Jasper
· 12 years ago
9f82df2
Fix formatting of expressions containing ">>".
by Daniel Jasper
· 12 years ago
1eff908
Improve formatting of templates.
by Daniel Jasper
· 12 years ago
9043c74
Major refactoring of BreakableToken.
by Manuel Klimek
· 12 years ago
7b27a10
Improve indentation of assignments.
by Daniel Jasper
· 12 years ago
32a796b
Fix hacky way of preventing a certain type of line break.
by Daniel Jasper
· 12 years ago
ced7d41
Formatter/ObjC: In dictionary literals, break after ':', not before it.
by Nico Weber
· 12 years ago
f2e0212
Ignore contents of #if 0 blocks.
by Alexander Kornienko
· 12 years ago
f632f69
More tests and a fix for braced init lists.
by Daniel Jasper
· 12 years ago
75ef31f
Fix aligning of comments.
by Manuel Klimek
· 12 years ago
b27375f
Fix aligning of comments that are at the start of the line.
by Manuel Klimek
· 12 years ago
d443239
Increase test coverage for braced init lists.
by Daniel Jasper
· 12 years ago
5bd0b9e
Improve formatting of braced lists.
by Daniel Jasper
· 12 years ago
c573080
Stop aligning trailing comments which are aligned with the next line.
by Manuel Klimek
· 12 years ago
5c24cca
Use a SourceRange for the whitespace location in FormatToken.
by Manuel Klimek
· 12 years ago
e5777d2
Improve formatting of braced lists.
by Daniel Jasper
· 12 years ago
Next »