Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b644dd68d3d7261ceb8823595290439dc65530b1
/
unittests
/
Format
/
FormatTest.cpp
b644dd6
clang-format: Improve boolean expression formatting in macros.
by Daniel Jasper
· 11 years ago
b5a151d
clang-format: Activate WebKit-style tests for MS compilers.
by Daniel Jasper
· 11 years ago
e60084d
clang-format: Slightly adapt line break penalties.
by Daniel Jasper
· 11 years ago
b349a78
clang-format: Improve stream-formatting.
by Daniel Jasper
· 11 years ago
5335260
clang-format: Correctly format alias declarations.
by Daniel Jasper
· 11 years ago
2530fd5
This change fixes the formatting of statements such as catch (E& e).
by Manuel Klimek
· 11 years ago
2519d56
Revert r187935 "Support for double width characters."
by Arnold Schwaighofer
· 11 years ago
712b747
Support for double width characters.
by Alexander Kornienko
· 11 years ago
d3a247c
Fixes a couple of bugs with the Allman brace breaking.
by Manuel Klimek
· 11 years ago
1dc6f74
clang-format: Fix corner case in OpenMP pragma formatting.
by Daniel Jasper
· 11 years ago
efed687
clang-format: Improve formatting of builder-type calls.
by Daniel Jasper
· 11 years ago
e490705
Implement Allman style.
by Manuel Klimek
· 11 years ago
75e58bb
clang-format: Fix string breaking after "<<".
by Daniel Jasper
· 11 years ago
1eaa997
clang-format: Operator precendence in ObjC method exprs.
by Daniel Jasper
· 11 years ago
ab3ce59
clang-format: Don't break empty 2nd operand of ternary expr.
by Daniel Jasper
· 11 years ago
b7000ca
Teach clang-format to understand static_asserts better.
by Daniel Jasper
· 11 years ago
aa9e7b1
clang-format: Improve line breaks in @property.
by Daniel Jasper
· 11 years ago
893ea8d
clang-format: Make alignment of trailing comments optional ..
by Daniel Jasper
· 11 years ago
eff18b9
clang-format: Add more options to namespace indentation.
by Daniel Jasper
· 11 years ago
0236dd0
clang-format: Improve detection of templates.
by Daniel Jasper
· 11 years ago
e8b10d3
clang-format: Add two new style options to support WebKit style.
by Daniel Jasper
· 11 years ago
e865cc5
clang-format: Fix switch/case interaction with macros.
by Daniel Jasper
· 11 years ago
e05dc6d
clang-format: Initial (incomplete) support for the WebKit coding style.
by Daniel Jasper
· 11 years ago
5e2169f
clang-format: Fix bad line break with pointers to members.
by Daniel Jasper
· 11 years ago
e0fa4c5
clang-format: Add space in corner case.
by Daniel Jasper
· 11 years ago
215c57f
Improve line breaking before multi-line strings.
by Daniel Jasper
· 11 years ago
b4b4a52
Avoid breaking non-trailing block comments.
by Alexander Kornienko
· 11 years ago
10c26b2
Don't break line comments with escaped newlines.
by Alexander Kornienko
· 11 years ago
561211d
clang-format: Improve handling of unterminated string literals.
by Daniel Jasper
· 11 years ago
b5dc3f4
Revamp the formatting of C++11 braced init lists.
by Daniel Jasper
· 11 years ago
e7d3bff
clang-format: Improve detection of function types.
by Daniel Jasper
· 11 years ago
0c36878
clang-format: Improve c-style cast detection.
by Daniel Jasper
· 11 years ago
9637dda
Improvement of change r186320.
by Daniel Jasper
· 11 years ago
3e12e87
Improve formatting of operator<< chains.
by Daniel Jasper
· 11 years ago
a0740f5
clang-format: Improve <<-formatting.
by Daniel Jasper
· 11 years ago
0fde950
clang-format: Fix string literal breaking.
by Daniel Jasper
· 11 years ago
011c35d
clang-format: Break before/between array subscript expressions.
by Daniel Jasper
· 11 years ago
15ec3a8
clang-format: Fix bug concerning the alignment of "}".
by Daniel Jasper
· 11 years ago
20a0f8c
clang-format: Break before trailing annotations.
by Daniel Jasper
· 11 years ago
faec47b
clang-format: Avoid line breaks before the first <<.
by Daniel Jasper
· 11 years ago
3262f4c
Improve detection of trailing return types.
by Daniel Jasper
· 11 years ago
e1f9a8e
Fix indentation problem for comments in call chains
by Daniel Jasper
· 11 years ago
c18cff3
Keep trailing annotations close to their argument.
by Daniel Jasper
· 11 years ago
c7bd68f
Add experimental flag for adaptive parameter bin-packing.
by Daniel Jasper
· 11 years ago
2ca3741
Initial support for formatting trailing return types.
by Daniel Jasper
· 11 years ago
b149179
Avoid confusing indentations for chained function calls.
by Daniel Jasper
· 11 years ago
0de1c4d
Fix alignment of closing brace in braced initializers.
by Daniel Jasper
· 11 years ago
6561f6a
Format overloaded operators like other functions.
by Daniel Jasper
· 11 years ago
526df0f
Fix incorrect incorrect cast identification in clang-format.
by Daniel Jasper
· 11 years ago
88cc562
Prefer similar line breaks.
by Daniel Jasper
· 11 years ago
1659ded
Fix for corner cases in code handling leading "* " decorations in block comments
by Alexander Kornienko
· 11 years ago
d6104f6
Fix formatting for allocation of new pointer variables.
by Daniel Jasper
· 11 years ago
07ca547
Improve detection for preventing certain kind of formatting patterns.
by Daniel Jasper
· 11 years ago
198c8bf
Don't break after a "(" following a binary operator.
by Daniel Jasper
· 11 years ago
5631202
Added AlwaysBreakBeforeMultilineStrings option.
by Alexander Kornienko
· 11 years ago
6df7a2d
Don't insert confusing line breaks in comparisons.
by Daniel Jasper
· 11 years ago
6ac431c
Fix formatting of long declarations with const type.
by Daniel Jasper
· 11 years ago
f50dbfa
Fix incorrect token counting introduced by r185319.
by Daniel Jasper
· 11 years ago
d446f73
Avoid column limit violation in block comments in certain cases.
by Alexander Kornienko
· 11 years ago
cbe86cc
Don't align "} // namespace" comments.
by Daniel Jasper
· 11 years ago
c47d7f1
Don't add an extra space before ellipsis after pointers.
by Daniel Jasper
· 11 years ago
3a1847e
Keep space between pointer and block comment.
by Daniel Jasper
· 11 years ago
02eacc2
Fix braced-list detection in lieu of trailing comments.
by Daniel Jasper
· 11 years ago
a1753f4
Use lexing mode based on FormatStyle.Standard.
by Alexander Kornienko
· 11 years ago
861576b
Formatter: Don't put a space after parameter-naming block comments.
by Nico Weber
· 11 years ago
465e861
Formatter/ObjC: Correctly format casts in objc message send expressions.
by Nico Weber
· 11 years ago
10fc2c6
Formatter/Objc: Add a test that checks that @import is formatted correctly.
by Nico Weber
· 11 years ago
c1c7625
Fixed typo.
by Alexander Kornienko
· 11 years ago
a9a7f10
Add an option to not indent declarations when breaking after the type.
by Manuel Klimek
· 11 years ago
8afa39b
Use the same set of whitespace characters for all operations in BreakableToken.
by Alexander Kornienko
· 11 years ago
c36c5c2
Fixed long-standing issue with incorrect length calculation of multi-line comments.
by Alexander Kornienko
· 11 years ago
f2b2c7d
Split long strings on word boundaries.
by Alexander Kornienko
· 11 years ago
d71b15b
Fix a problem in ExpressionParser leading to trailing comments affecting indentation of an expression after a line break.
by Alexander Kornienko
· 11 years ago
22d0e29
Fixes incorrect indentation of line comments after break and re-alignment.
by Alexander Kornienko
· 11 years ago
16a0ec6
Don't remove backslashes from block comments.
by Alexander Kornienko
· 11 years ago
e3f1197
Preserve newlines before block comments in static initializers.
by Alexander Kornienko
· 11 years ago
2b2faa5
Insert a space at the start of a line comment in case it starts with an alphanumeric character.
by Alexander Kornienko
· 11 years ago
54e6c9d
Improved handling of escaped newlines at the token start.
by Alexander Kornienko
· 11 years ago
2785b9a
Fixed calculation of penalty when breaking tokens.
by Alexander Kornienko
· 11 years ago
65d2c38
Fix incorrect line breaking before trailing block comments.
by Daniel Jasper
· 11 years ago
9acb8b4
Fix clang-format's expression parser for leading }s.
by Daniel Jasper
· 11 years ago
ff1a2e5
Improve c-style cast detection.
by Daniel Jasper
· 11 years ago
07eda94
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
· 11 years ago
dda770b
Added test with characters using four bytes in UTF-8 representation.
by Alexander Kornienko
· 11 years ago
0089510
UTF-8 support for clang-format.
by Alexander Kornienko
· 11 years ago
15f33f0
Let clang-format remove empty lines before "}".
by Daniel Jasper
· 11 years ago
ce912f4
Improve detection preventing certain kind of formatting patterns.
by Daniel Jasper
· 11 years ago
5ef8aac
Fix line-breaking problem caused by comment.
by Daniel Jasper
· 11 years ago
0348be0
Improve recognition of template parameters.
by Daniel Jasper
· 11 years ago
b8b4295
Improve clang-format's c-style cast detection.
by Daniel Jasper
· 11 years ago
f7ec1cc
Improve clang-format's error recovery.
by Daniel Jasper
· 11 years ago
8893b8a
Make formatting of empty blocks more consistent.
by Daniel Jasper
· 11 years ago
c01897c
Properly format nested conditional operators.
by Daniel Jasper
· 11 years ago
eb48366
Fix detection/formatting of braced lists in ternary expressions.
by Daniel Jasper
· 11 years ago
cb4b40b
More fixes for clang-format's multiline comment breaking.
by Daniel Jasper
· 11 years ago
9209270
Fix another clang-format crasher related to multi-line comments.
by Daniel Jasper
· 11 years ago
e2c482f
Fix crasher when formatting certain block comments.
by Daniel Jasper
· 11 years ago
be9ed77
Fixes error when splitting block comments.
by Manuel Klimek
· 11 years ago
c76d59d
Add return missing in r182855.
by Daniel Jasper
· 11 years ago
7e70f4c
Leave some macros on their own line
by Daniel Jasper
· 11 years ago
Next »