Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
efcfe733970b994b75ba5fc728a97357b3a6a0e1
/
unittests
/
Format
/
FormatTest.cpp
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