Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
627707b9360597b65a9a0953d0ead2a08c3a0d5d
/
unittests
/
Format
/
FormatTest.cpp
627707b
Better fix for r177725.
by Daniel Jasper
· 11 years ago
c363dbb
Align comments to surrounding unformatted comments.
by Daniel Jasper
· 11 years ago
b598542
More precisely recognize ObjC method declarations.
by Daniel Jasper
· 11 years ago
b64eca0
Make clang-format understand more line comments.
by Daniel Jasper
· 11 years ago
7c22cf3
Better block comment formatting.
by Alexander Kornienko
· 11 years ago
54a38bd
Support for pointers-to-members usage via .*
by Alexander Kornienko
· 11 years ago
92f9faf
Remove assertion that can be triggered on bad input.
by Daniel Jasper
· 11 years ago
6fe554e
Fix infinite-loop in unwrapped line parser.
by Daniel Jasper
· 11 years ago
83a90e5
Do not consider comments when adjusting to local indent style.
by Daniel Jasper
· 11 years ago
64f0928
Reduce penalty for breaks after "(" for functions with parameters.
by Daniel Jasper
· 11 years ago
f9955d3
Add extra indentation for multiline comparisons.
by Daniel Jasper
· 11 years ago
bcca7e4
Don't remove all indentation when in #defines.
by Daniel Jasper
· 11 years ago
9322aae
Improve formatting of function types in template parameters.
by Daniel Jasper
· 11 years ago
c30eb51
Fix indentation for case: // comment.
by Daniel Jasper
· 11 years ago
052685c
Split long lines in multi-line comments.
by Alexander Kornienko
· 11 years ago
cf6d76a
Fix clang-format segfault.
by Daniel Jasper
· 11 years ago
3af59ce
Improve formatting of chained calls.
by Daniel Jasper
· 11 years ago
1fdd8b3
Indent all lines in a multi-line comment by the same amount.
by Alexander Kornienko
· 11 years ago
f753615
Multi-line comment alignment
by Alexander Kornienko
· 11 years ago
bfa1edd
Slightly improve formatting of longer pipe statements.
by Daniel Jasper
· 11 years ago
923ebef
Basic support for formatting asm() statments.
by Daniel Jasper
· 11 years ago
d3cf17b
Fix dereference formatting in for-loops.
by Daniel Jasper
· 11 years ago
8ef19a2
Improve formatting of trailing annotations.
by Daniel Jasper
· 11 years ago
6a365aa
Fix incorrect cast identification.
by Daniel Jasper
· 11 years ago
6050a1e
Fix comment indentation before labels.
by Daniel Jasper
· 11 years ago
8d0d19a
Fix formatting issue with builder-type calls.
by Daniel Jasper
· 11 years ago
6f21a98
Fix formatting of new arrays of pointers.
by Daniel Jasper
· 11 years ago
3fd9ccd
Implemented formatting of rvalue references
by Alexander Kornienko
· 11 years ago
4ba9bfd
Remove bad space after "default".
by Daniel Jasper
· 11 years ago
aa62d0c
Fixes breaking of string literals.
by Manuel Klimek
· 11 years ago
f302354
Remove unncessary whitespace when triggered on empty line.
by Daniel Jasper
· 11 years ago
0090591
Make sure to not split string literals at the first character.
by Manuel Klimek
· 11 years ago
1eee6c4
Format a line if a range in its leading whitespace was selected.
by Daniel Jasper
· 11 years ago
516fb31
Remove whitespace at end of file.
by Daniel Jasper
· 11 years ago
8a5d7cd
Correctly format arrays of pointers and function types.
by Daniel Jasper
· 11 years ago
2484971
Normal indent for last element of builder-type call.
by Daniel Jasper
· 11 years ago
812c045
Remove trailing whitespace of line comments.
by Daniel Jasper
· 11 years ago
bc30c71
Implements breaking string literals at slashes.
by Manuel Klimek
· 11 years ago
af31fd7
Implement fallback split point for string literals.
by Manuel Klimek
· 11 years ago
25e81b2
Reduce penalty for splitting after "{" in static initializers.
by Daniel Jasper
· 11 years ago
8ed4100
Dont break between (( in __attribute__((.
by Daniel Jasper
· 11 years ago
9c3c7b3
No spaces around pointers to members.
by Daniel Jasper
· 11 years ago
a4d4621
Improve formatting of #defines.
by Daniel Jasper
· 11 years ago
b6f02f3
Fix bug when formatting "A<A<A>>".
by Daniel Jasper
· 11 years ago
3a39ac7
Fix incorrect recognition of bin-packing.
by Daniel Jasper
· 11 years ago
807809c
Fix spacing after binary operator as macro parameter.
by Daniel Jasper
· 11 years ago
9c65b06
Fix formatting of multiplications in array subscripts.
by Daniel Jasper
· 11 years ago
faab0d3
Enable bin-packing in Google style.
by Daniel Jasper
· 11 years ago
518ee34
Fix bad line break decision.
by Daniel Jasper
· 11 years ago
84a1a63
In range-based for-loops, prefer splitting after ":".
by Daniel Jasper
· 11 years ago
1ef81d5
Only keep empty lines in unwrapped lines if they preceed a line comment.
by Daniel Jasper
· 11 years ago
0fb382b
Only break string literals as a last resort.
by Daniel Jasper
· 11 years ago
9c3e71a
Re-add hack that caused regression.
by Daniel Jasper
· 11 years ago
3c08a81
Allow breaking between a type and name in variable declarations.
by Daniel Jasper
· 11 years ago
237d4c1
Better formatting of conditional expressions.
by Daniel Jasper
· 11 years ago
37eff83
Don't recognize unnamed pointer parameters as casts.
by Daniel Jasper
· 11 years ago
3a20441
Allow splitting between string literals and identifiers.
by Daniel Jasper
· 11 years ago
f11a705
Consistently put {} onto the same line for empty functions.
by Daniel Jasper
· 11 years ago
7d81281
Allow breaking between type and name in for loops.
by Daniel Jasper
· 11 years ago
e9a6226
Fix regression in string literal alignment.
by Manuel Klimek
· 11 years ago
b56b6d1
Fixes bug in string literal alignment.
by Manuel Klimek
· 11 years ago
c4615b7
Don't remove blank lines within unwrapped lines.
by Daniel Jasper
· 11 years ago
8092a94
Implements breaking of string literals if they stick out.
by Manuel Klimek
· 11 years ago
03628b8
Add missing clang-format null pointer check..
by Daniel Jasper
· 12 years ago
34511fb
Correctly format macro with unfinished template declaration.
by Daniel Jasper
· 12 years ago
82282dc
Improve indentation of builder type calls.
by Daniel Jasper
· 12 years ago
515f65d
Improve formatting of builder-type calls.
by Daniel Jasper
· 12 years ago
2933316
Reformat lines if they were "moved around".
by Daniel Jasper
· 12 years ago
d0f349b
Correctly determine */& usage in more cases.
by Daniel Jasper
· 12 years ago
66d19bd
Always break after multi-line string literals.
by Daniel Jasper
· 12 years ago
cf5767d
Prevent line breaks that make stuff hard to read.
by Daniel Jasper
· 12 years ago
4a544e5
Recognize < and > as binary expressions in builder-type calls.
by Daniel Jasper
· 12 years ago
dc2efa1
Done break between 'operator' and '<<'.
by Daniel Jasper
· 12 years ago
b130a54
Re-enable ConstructorInitializerAllOnOneLineOrOnePerLine option.
by Daniel Jasper
· 12 years ago
7878a7b
Prevent only breaking before "?" in conditional expressions.
by Daniel Jasper
· 12 years ago
9fc56f2
Fix counting of parameters so that r175162 works as expected.
by Daniel Jasper
· 12 years ago
fc75908
Reduce penalty for breaking before ./-> after complex calls.
by Daniel Jasper
· 12 years ago
c78c6b3
Remove the trailing whitespace of formatted lines.
by Daniel Jasper
· 12 years ago
c5cfa49
Get less confused by trailing comma in Google style.
by Daniel Jasper
· 12 years ago
31672fb
Remove accidentally committed empty test.
by Daniel Jasper
· 12 years ago
6cabab4
Align superclasses for multiple inheritence.
by Daniel Jasper
· 12 years ago
a03ab10
Allow breaking after the return type in function declarations.
by Daniel Jasper
· 12 years ago
42f458d
Fix comment alignment close to the column limit.
by Daniel Jasper
· 12 years ago
e0dc7c7
Formatter: And more cast tests (these don't pass yet).
by Nico Weber
· 12 years ago
6fa7e74
Formatter: Add more cast tests.
by Nico Weber
· 12 years ago
37d6931
Formatter: Refactor the cast detection code to be a bit more readable.
by Nico Weber
· 12 years ago
4c2cc60
Formatter: Detect ObjC method expressions after casts.
by Nico Weber
· 12 years ago
89a0daa
Fix crash for incomplete labels in macros.
by Daniel Jasper
· 12 years ago
9ece2bb
Fix bug in the adjustment to existing lines.
by Daniel Jasper
· 12 years ago
95e8e46
Formatter: Correctly format stars in `sizeof(int**)` and similar places.
by Nico Weber
· 12 years ago
c2e6d2a
Formatter: Detect ObjC message expressions after 'in' in loop
by Nico Weber
· 12 years ago
3f4535e
Get rid of manual debug output, now that the test runner supports it.
by Manuel Klimek
· 12 years ago
729a743
Fix invalid formatting with spaces before trailing comments.
by Daniel Jasper
· 12 years ago
a28fc06
Fixes handling of empty lines in macros.
by Manuel Klimek
· 12 years ago
2b4c924
Fix formatting of overloaded operator definitions.
by Daniel Jasper
· 12 years ago
0ac717b
Formatter: Add a test for multi-line ObjC dict literals.
by Nico Weber
· 12 years ago
e626200
Formatter: Add another ObjC literal test.
by Nico Weber
· 12 years ago
d74fcdb
Formatter: Initial support for ObjC dictionary literals.
by Nico Weber
· 12 years ago
051860e
Formatter: Detect ObjC array literals.
by Nico Weber
· 12 years ago
7728057
Formatter: Add test for default arguments.
by Nico Weber
· 12 years ago
Next »