Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
700e710544a50ec63f984b9b098530bf9107920a
/
unittests
/
Format
/
FormatTest.cpp
700e710
Do more error checking for '{}'.
by Daniel Jasper
· 12 years ago
880e538
Formatter: Remove unused @-formatting code.
by Nico Weber
· 12 years ago
b530fa3
Formatter: @optional and @required go on their own line.
by Nico Weber
· 12 years ago
50767d8
Formatter: Add support for @implementation.
by Nico Weber
· 12 years ago
049c447
Formatter: Make parseObjCUntilAtEnd() actually work.
by Nico Weber
· 12 years ago
1abe6ea
Formatting: Add support for @protocol.
by Nico Weber
· 12 years ago
27d1367
Formatter: Add support for @interface.
by Nico Weber
· 12 years ago
526ed11
Enables layouting unwrapped lines around preprocessor directives.
by Manuel Klimek
· 12 years ago
3fc0bb7
Only align after assignments on the top level.
by Daniel Jasper
· 12 years ago
ceb99ab
Don't simply give up when exceeding 80cols, choose an "ok" option.
by Daniel Jasper
· 12 years ago
d64f738
Correctly format wrapped function call parameters in templated functions.
by Daniel Jasper
· 12 years ago
043835a
Allow comments in the middle of statements to be on their own line.
by Daniel Jasper
· 12 years ago
886568d
Fix ObjC block declarations.
by Daniel Jasper
· 12 years ago
9c837d0
Improve formatting of conditional operators.
by Daniel Jasper
· 12 years ago
3a2673e
Formatter: More tests for already-passing ObjC bits.
by Nico Weber
· 12 years ago
2db356d
Don't break after unary operators.
by Daniel Jasper
· 12 years ago
cb4d690
Formatter: Format @ literals better. Array and dictionary literals need more work.
by Nico Weber
· 12 years ago
c31689a
Formatter: More ObjC tests.
by Nico Weber
· 12 years ago
cf4a79c
Formatter: Add tests for some ObjC bits that happen to be formatted correctly.
by Nico Weber
· 12 years ago
765561f
Don't put spaces around ##.
by Daniel Jasper
· 12 years ago
26f7e78
Change the data structure used in clang-format.
by Daniel Jasper
· 12 years ago
6092d4e
Formatter: Support @public/@protected/@package/@private.
by Nico Weber
· 12 years ago
de76854
Fix parsing of variable declarations directly after a class / struct.
by Manuel Klimek
· 12 years ago
a9ccdd1
Formatter: Add tests for try/catch. Let 'throw' start an expression.
by Nico Weber
· 12 years ago
d0af4b4
Formatter: Don't put spaces betwen @ and objc keywords.
by Nico Weber
· 12 years ago
4a293a2
Test all @keywords. Turns out some of them are not formatted correctly yet.
by Nico Weber
· 12 years ago
581f557
Slightly expand the @ test to cover whitespace between @ and keyword.
by Nico Weber
· 12 years ago
efcfe73
Add a test that checks that the formatter doesn't discard '@' with ObjC1 set.
by Nico Weber
· 12 years ago
cd16238
Reformat clang-formats source code.
by Daniel Jasper
· 12 years ago
9cda800
Prefer not to break after assignments.
by Daniel Jasper
· 12 years ago
7ad4eff
Add style option for number of spaces before trailing comments.
by Daniel Jasper
· 12 years ago
7160751
Do not break before "0" in pure virtual function declarations.
by Daniel Jasper
· 12 years ago
dd5b101
Fix incorrect FIXME.
by Manuel Klimek
· 12 years ago
d544c57
Do not ever allow using the full line in preprocessor directives.
by Manuel Klimek
· 12 years ago
6cf5814
Fix layouting of single-line-comments preceded by an escaped newline.
by Manuel Klimek
· 12 years ago
9541938
Fix layouting of tokens with a leading escaped newline.
by Manuel Klimek
· 12 years ago
46a46a2
Put a higher penalty on breaking before "." or "->".
by Daniel Jasper
· 12 years ago
a5342db
Fixes handling of unbalances braces.
by Manuel Klimek
· 12 years ago
f6fd00b
Fixes parsing of hash tokens in the middle of a line.
by Manuel Klimek
· 12 years ago
c37b4d6
Fixes PR14801 - preprocessor directives shouldn't be indented
by Manuel Klimek
· 12 years ago
6f8424b
Fixes PR14811: Crash when formatting some macros
by Manuel Klimek
· 12 years ago
d4397b9
Various fixes to clang-format's macro handling.
by Manuel Klimek
· 12 years ago
9bb0d28
Correctly format dereference and address of in array parameters.
by Daniel Jasper
· 12 years ago
1f42f11
Let the formatter ignore UnwrappedLines containing errors.
by Daniel Jasper
· 12 years ago
060143e
Fixes multiple formatting bugs.
by Manuel Klimek
· 12 years ago
5eda31e
Don't allow line breaks after template parameters.
by Daniel Jasper
· 12 years ago
ba3d307
Format */& as binary operator if followed by a unary operator.
by Daniel Jasper
· 12 years ago
a080a18
Fixes use of unescaped newlines when formatting preprocessor directives.
by Manuel Klimek
· 12 years ago
ef5b9c3
Correctly format pointers and references in casts.
by Daniel Jasper
· 12 years ago
1f0754b
Understand unary operators after "return" and "case".
by Daniel Jasper
· 12 years ago
9a64fb5
Prefer splitting after "template <...>" and fix indentation.
by Daniel Jasper
· 12 years ago
723f030
Prefer to break after operators over breaking after "(".
by Daniel Jasper
· 12 years ago
5d33440
Understand * and & in ternary expressions.
by Daniel Jasper
· 12 years ago
4dc41de
Don't break after pointer or reference specifier.
by Daniel Jasper
· 12 years ago
1f94f2b
Formatter: parse and format inline namespaces like regular namespaces
by Dmitri Gribenko
· 12 years ago
a4974cf
Penalize tokens with a lower parenthesis level than the start of the line.
by Daniel Jasper
· 12 years ago
cf225b6
Align RHS after assignments and return statements.
by Daniel Jasper
· 12 years ago
f6aef6a
Fix formatting over overloaded operators.
by Daniel Jasper
· 12 years ago
e2c7acf
Take operator precedence into account when splitting lines.
by Daniel Jasper
· 12 years ago
00d5a04
libFormat: Teach the *& usage heuristic that "return" starts a rhs too.
by Nico Weber
· 12 years ago
9b3f02c
Adding to FormatTest.cpp test for a very long ObjC method
by Fariborz Jahanian
· 12 years ago
b23ae0c
format: Handle #import as include directive too.
by Nico Weber
· 12 years ago
cd1a32b
clang-format: No spaces around directory specifiers
by Daniel Jasper
· 12 years ago
a324a0e
Basic support for formatting for-loops.
by Daniel Jasper
· 12 years ago
98e6b4a
Formatting fixes for PR14680
by Daniel Jasper
· 12 years ago
154120c
Add objective-C style formatting to clang format and
by Fariborz Jahanian
· 12 years ago
1321eb5
Better support for constructor initializers.
by Daniel Jasper
· 12 years ago
e35ec2b
Make the format scrambler understand line comments.
by Daniel Jasper
· 12 years ago
9a0b494
Add basic support for splitting before function calls if it can't be avoided.
by Daniel Jasper
· 12 years ago
05b1ac8
Fix several formatting problems.
by Daniel Jasper
· 12 years ago
8b39c66
Addi formatting tests for pointer template parameters.
by Daniel Jasper
· 12 years ago
56e49c5
Clang-format: error recovery for access specifiers
by Alexander Kornienko
· 12 years ago
c74e279
Small tweaks to clang-format.
by Daniel Jasper
· 12 years ago
1575731
Clang-format: IndentCaseLabels option, proper namespace handling
by Alexander Kornienko
· 12 years ago
a3a2b3a
Clang-format: detect unbalanced braces.
by Alexander Kornienko
· 12 years ago
d56a737
Improve clang-format's handling of unary operators.
by Daniel Jasper
· 12 years ago
3b5943f
"<<" alignment for clang-format.
by Daniel Jasper
· 12 years ago
2e97cfc
Clang-format: parse for and while loops
by Alexander Kornienko
· 12 years ago
33182dd
Indentation fixes for clang-format.
by Daniel Jasper
· 12 years ago
112fb27
Small tweaks to automatic formatting.
by Daniel Jasper
· 12 years ago
cff563c
Error recovery part 2
by Alexander Kornienko
· 12 years ago
393b008
Clang-format error recovery part 1
by Alexander Kornienko
· 12 years ago
a166e73
Enum formatting implementation
by Alexander Kornienko
· 12 years ago
8822d3a
Small fixes to unary operator recognition and handling of include directives.
by Daniel Jasper
· 12 years ago
a88bb45
Replace workarounds with correct fixes.
by Daniel Jasper
· 12 years ago
1050e8b
Sort the #include lines for unittests/...
by Chandler Carruth
· 12 years ago
bac016b
Initial version of formatting library.
by Daniel Jasper
· 12 years ago