Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
56312023bf62cb40d2e33ea5e14d55c1e42303a7
/
unittests
/
Format
/
FormatTest.cpp
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
bbc8776
Add option to always break template declarations.
by Daniel Jasper
· 11 years ago
88959b7
Support uniform inits in braced lists.
by Daniel Jasper
· 11 years ago
3ff4a2f
Fix formatting regression regarding pointers to arrays.
by Daniel Jasper
· 11 years ago
5ad390d
Initial support for designated initializers.
by Daniel Jasper
· 11 years ago
d63312b
Disable tab expansion when counting the columns in block comments.
by Manuel Klimek
· 11 years ago
c5cc4bf
Fixes indentation of empty lines in block comments.
by Manuel Klimek
· 11 years ago
431f591
Clean up formatting of function types.
by Daniel Jasper
· 11 years ago
69c4371
Fix formatting of expressions containing ">>".
by Daniel Jasper
· 11 years ago
131884a
Improve formatting of templates.
by Daniel Jasper
· 11 years ago
de008c0
Major refactoring of BreakableToken.
by Manuel Klimek
· 11 years ago
512843a
Improve indentation of assignments.
by Daniel Jasper
· 11 years ago
259a038
Fix hacky way of preventing a certain type of line break.
by Daniel Jasper
· 11 years ago
f2ff812
Formatter/ObjC: In dictionary literals, break after ':', not before it.
by Nico Weber
· 11 years ago
6fb46b0
Ignore contents of #if 0 blocks.
by Alexander Kornienko
· 11 years ago
ce93356
More tests and a fix for braced init lists.
by Daniel Jasper
· 11 years ago
854ca79
Fix aligning of comments.
by Manuel Klimek
· 11 years ago
23ad339
Fix aligning of comments that are at the start of the line.
by Manuel Klimek
· 11 years ago
de0d61f
Increase test coverage for braced init lists.
by Daniel Jasper
· 11 years ago
1bee073
Improve formatting of braced lists.
by Daniel Jasper
· 11 years ago
ebfb88c
Stop aligning trailing comments which are aligned with the next line.
by Manuel Klimek
· 11 years ago
ad3094b
Use a SourceRange for the whitespace location in FormatToken.
by Manuel Klimek
· 11 years ago
2424eef
Improve formatting of braced lists.
by Daniel Jasper
· 11 years ago
80829bd
Expand parsing of braced init lists.
by Manuel Klimek
· 11 years ago
e573c3f
Makes whitespace management more consistent.
by Manuel Klimek
· 11 years ago
6e6efa7
Improve clang-format's stream formatting.
by Daniel Jasper
· 11 years ago
24e19e4
Fix function declaration behavior.
by Daniel Jasper
· 11 years ago
5ad72bb
Improve handling of trailing 'const'.
by Daniel Jasper
· 11 years ago
54b4e44
Cut-off clang-format analysis.
by Daniel Jasper
· 11 years ago
e033e87
Allow breaking before a trailing const.
by Daniel Jasper
· 11 years ago
885f87b
Clang-format: allow -style="{yaml/json}" on command line
by Alexander Kornienko
· 11 years ago
399914b
Slightly modify the formatting rules for braced lists.
by Daniel Jasper
· 11 years ago
9e5b6c3
Add additional test-case for one-line-function.
by Daniel Jasper
· 11 years ago
5d5b424
Don't insert a break into include lines with trailing comments.
by Daniel Jasper
· 11 years ago
2a2579a
Add config parsing test for new parameter.
by Daniel Jasper
· 11 years ago
f11bbb9
Add option to put short loops on a single line.
by Daniel Jasper
· 11 years ago
8a99945
Add a more convenient interface to use clang-format.
by Daniel Jasper
· 11 years ago
058f6f8
Comments should not prevent single-line functions.
by Daniel Jasper
· 11 years ago
9a2f8d0
Add back accidentally deleted line and add test for it.
by Daniel Jasper
· 11 years ago
5be59ba
Don't put short namespace on a single line.
by Daniel Jasper
· 11 years ago
5d823e3
Improve recognition of template definitions.
by Daniel Jasper
· 11 years ago
33f4b90
Break function declarations after multi-line return types.
by Daniel Jasper
· 11 years ago
9f32161
Don't merge one-line functions in weird brace styles.
by Daniel Jasper
· 11 years ago
caf42a3
Remove diagnostics from clang-format.
by Daniel Jasper
· 11 years ago
a8fda85
Improve formatting of function types.
by Daniel Jasper
· 11 years ago
d741f02
Fix expression breaking for one-parameter-per-line styles.
by Daniel Jasper
· 11 years ago
84f5ddf
Correctly determine ranges for clang-format.
by Daniel Jasper
· 11 years ago
1fb8d88
Fix clang-format bug in unwrapped-line merging.
by Daniel Jasper
· 11 years ago
2a9805d
Implement string literal breaking on unbreakable token sequences.
by Manuel Klimek
· 11 years ago
7424d79
Don't format sizeof/alignof as function types.
by Daniel Jasper
· 11 years ago
3371711
Replace EXPECT_EQ with EXPECT_FALSE to avoid gcc warning
by Patrik Hagglund
· 11 years ago
27c7f54
Align a multiline string literal with the first part.
by Daniel Jasper
· 11 years ago
44135b8
Implements brace breaking styles.
by Manuel Klimek
· 11 years ago
7c9a93e
Implements UseTab for clang-format.
by Manuel Klimek
· 11 years ago
c3df5ff
Further improve optimization for nested calls.
by Daniel Jasper
· 11 years ago
Next »