Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
03628b86a9c50e066412fb0e49908686ff117378
/
unittests
/
Format
/
FormatTest.cpp
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
52635ff
Fix indentation-detection at indent level 0.
by Manuel Klimek
· 12 years ago
547d5db
Takes the context into account when re-indenting regions.
by Manuel Klimek
· 12 years ago
087387a
Fix handling of fake parenthesis during formatting.
by Daniel Jasper
· 12 years ago
29f123b
Implement a tiny expression parser to improve formatting decisions.
by Daniel Jasper
· 12 years ago
ce3d1a6
Avoid unnecessary line breaks in nested ObjC calls.
by Daniel Jasper
· 12 years ago
daf1a15
clang-format: Don't put useless space in f( ::g()).
by Daniel Jasper
· 12 years ago
712f5b3
Formatter: Move ObjC literal tests to its own test case.
by Nico Weber
· 12 years ago
474e462
Fix bug in the alignment of comments.
by Daniel Jasper
· 12 years ago
4e8a7b4
Become a little smarter with formatting long chains of pipes.
by Daniel Jasper
· 12 years ago
15417ef
Align trailing block comments like trailing line comments.
by Daniel Jasper
· 12 years ago
4ed7f3e
Formatter: Correctly detect ObjC message expressions preceded by a comment.
by Nico Weber
· 12 years ago
b3507cd
Fix handling of comments in macros.
by Manuel Klimek
· 12 years ago
7fc2db0
Much semicolon after namespaces.
by Manuel Klimek
· 12 years ago
9e9e6e0
Fix formatting of ObjC method calls.
by Daniel Jasper
· 12 years ago
b8b1ce1
Parse record declarations with token pasted identifiers.
by Manuel Klimek
· 12 years ago
36ba0ff
Fix a formatting bug caused by comments in expressions.
by Daniel Jasper
· 12 years ago
8ff690a
Optionally derive formatting information from the input file.
by Daniel Jasper
· 12 years ago
6b5ba8b
Fix an issue with the formatting of stars in default values.
by Daniel Jasper
· 12 years ago
4e77809
Handle nested ObjC calls.
by Daniel Jasper
· 12 years ago
e8a9798
Formatter: No space after & and * in front of ObjC message expressions.
by Nico Weber
· 12 years ago
ee0feec
Formatter: Detect ObjC method expressions after unary operators.
by Nico Weber
· 12 years ago
63d7ced
Initial support for formatting ObjC method declarations/calls.
by Daniel Jasper
· 12 years ago
d399bff
Fix some linebreak decisions in Google format.
by Daniel Jasper
· 12 years ago
5b7e7b0
Fix formatting regression introduced by r174307.
by Daniel Jasper
· 12 years ago
cda1650
Improve handling of trailing block comments
by Daniel Jasper
· 12 years ago
fa543ac
Improve formatting of stream operators.
by Daniel Jasper
· 12 years ago
2752ff3
Improve handling of trailing block comments.
by Daniel Jasper
· 12 years ago
8159d2f
Fix an error in formatting of for-loops.
by Daniel Jasper
· 12 years ago
0178673
Restructuring of token annotation for formatting.
by Daniel Jasper
· 12 years ago
6bd0232
Fix bug in formatting of nested initializers.
by Daniel Jasper
· 12 years ago
bd04f2a
Never break inside something that was a preprocessor directive.
by Manuel Klimek
· 12 years ago
f343cab
Several improvements to the formatting of static initializers.
by Daniel Jasper
· 12 years ago
afcbd85
Don't generate no-op replacements.
by Daniel Jasper
· 12 years ago
d4f2c2e
Improve formatting of code with comments.
by Daniel Jasper
· 12 years ago
f157960
Allow all parameters on next line for function calls in Chrome.
by Daniel Jasper
· 12 years ago
2e60377
Initial support for multiple variable declarations.
by Daniel Jasper
· 12 years ago
93384a9
Reverting changes from r173785 (removing empty lines before "}").
by Daniel Jasper
· 12 years ago
8df364f
Remove empty lines before "}".
by Daniel Jasper
· 12 years ago
7522318
Fix a bug that would lead to bad line break decisions in for loops.
by Daniel Jasper
· 12 years ago
d75ff64
Don't put a function's return type on its own line in Google style.
by Daniel Jasper
· 12 years ago
83f25ba
Let clang-format break after a function's return type.
by Daniel Jasper
· 12 years ago
02b771e
Make continuations in constructor initializers consistent.
by Daniel Jasper
· 12 years ago
3b9a8fc
Initial support for formatting range-based for-loops.
by Daniel Jasper
· 12 years ago
bfe6fd4
Improve formatting of conditional expressions.
by Daniel Jasper
· 12 years ago
ae8699b
Several small changes in formatting decisions.
by Daniel Jasper
· 12 years ago
5f2173e
Improve indentation after breaking at nested name specifiers.
by Daniel Jasper
· 12 years ago
986e17f
Avoid confusing identations for multi-parameter functions.
by Daniel Jasper
· 12 years ago
3499dda
Fix some alignment and line break decisions.
by Daniel Jasper
· 12 years ago
63f0036
Allow breaking after "::" if absolutely necessary.
by Daniel Jasper
· 12 years ago
e438bac
Add extra indent for nested calls inside if's.
by Daniel Jasper
· 12 years ago
f39c885
Don't try to align builder-type continuations on assignments.
by Daniel Jasper
· 12 years ago
13cb7c2
Don't try to do a hanging ident after assignments.
by Daniel Jasper
· 12 years ago
7ccbc21
Fix handling of macro definitions.
by Manuel Klimek
· 12 years ago
a32a7fd
Fixes layouting regression and invalid-read.
by Manuel Klimek
· 12 years ago
20d3583
Fix the formatting of pointer/reference types in range-based for loops.
by Daniel Jasper
· 12 years ago
7006e7e
Removing the penalty for breaking after "=".
by Daniel Jasper
· 12 years ago
4bfc65a
Fix another regression for pointer types.
by Daniel Jasper
· 12 years ago
218b6df
Fix regression in formatting pointer types.
by Daniel Jasper
· 12 years ago
836b58f
Fixes incorrect handling of the declaration context stack.
by Manuel Klimek
· 12 years ago
092a2c7
Fix segfaults in the formatter.
by Manuel Klimek
· 12 years ago
8f4bd7a
Add option to allow putting all parameters onto the next line.
by Daniel Jasper
· 12 years ago
70b03f4
Allow us to better guess the context of an unwrapped line.
by Manuel Klimek
· 12 years ago
f5ecfa5
Formatter: Remove a fixme klimek fixed in r173168.
by Nico Weber
· 12 years ago
Next »