Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
b5dad75e38d449a1421d5f14ccf55857fe5599fe
/
clang
/
unittests
/
Format
/
FormatTest.cpp
b5dad75
Alternative handling of comments adjacent to preprocessor directives.
by Alexander Kornienko
· 13 years ago
6e42b1e
Improve formatting of function types.
by Daniel Jasper
· 13 years ago
efd9838
Fixed handling of comments before preprocessor directives.
by Alexander Kornienko
· 13 years ago
fd43336
Insert extra new line before access specifiers.
by Alexander Kornienko
· 13 years ago
ffd6d04
Split line comments
by Alexander Kornienko
· 13 years ago
dd9276e
Better fix for r177725.
by Daniel Jasper
· 13 years ago
bc0fa39
Align comments to surrounding unformatted comments.
by Daniel Jasper
· 13 years ago
399d1ee
More precisely recognize ObjC method declarations.
by Daniel Jasper
· 13 years ago
5521365
Make clang-format understand more line comments.
by Daniel Jasper
· 13 years ago
547a9f52
Better block comment formatting.
by Alexander Kornienko
· 13 years ago
674be0a
Support for pointers-to-members usage via .*
by Alexander Kornienko
· 13 years ago
291f936
Remove assertion that can be triggered on bad input.
by Daniel Jasper
· 13 years ago
1a32a61
Fix infinite-loop in unwrapped line parser.
by Daniel Jasper
· 13 years ago
66dc2ec
Do not consider comments when adjusting to local indent style.
by Daniel Jasper
· 13 years ago
aab220f
Reduce penalty for breaks after "(" for functions with parameters.
by Daniel Jasper
· 13 years ago
d1ae358
Add extra indentation for multiline comparisons.
by Daniel Jasper
· 13 years ago
a127512
Don't remove all indentation when in #defines.
by Daniel Jasper
· 13 years ago
b8914dd
Improve formatting of function types in template parameters.
by Daniel Jasper
· 13 years ago
2bd32ca
Fix indentation for case: // comment.
by Daniel Jasper
· 13 years ago
afcef33
Split long lines in multi-line comments.
by Alexander Kornienko
· 13 years ago
850677d
Fix clang-format segfault.
by Daniel Jasper
· 13 years ago
9b33424
Improve formatting of chained calls.
by Daniel Jasper
· 13 years ago
79d6c72
Indent all lines in a multi-line comment by the same amount.
by Alexander Kornienko
· 13 years ago
dd8ed85
Multi-line comment alignment
by Alexander Kornienko
· 13 years ago
f38a0ac
Slightly improve formatting of longer pipe statements.
by Daniel Jasper
· 13 years ago
40aacf4
Basic support for formatting asm() statments.
by Daniel Jasper
· 13 years ago
ae90764
Fix dereference formatting in for-loops.
by Daniel Jasper
· 13 years ago
bf4755b
Improve formatting of trailing annotations.
by Daniel Jasper
· 13 years ago
8a68b95
Fix incorrect cast identification.
by Daniel Jasper
· 13 years ago
0f8ed9e
Fix comment indentation before labels.
by Daniel Jasper
· 13 years ago
8f6ae19
Fix formatting issue with builder-type calls.
by Daniel Jasper
· 13 years ago
97b8948
Fix formatting of new arrays of pointers.
by Daniel Jasper
· 13 years ago
a515127
Implemented formatting of rvalue references
by Alexander Kornienko
· 13 years ago
1810465
Remove bad space after "default".
by Daniel Jasper
· 13 years ago
5085d9b
Fixes breaking of string literals.
by Manuel Klimek
· 13 years ago
f71cf3b
Remove unncessary whitespace when triggered on empty line.
by Daniel Jasper
· 13 years ago
abf6e03
Make sure to not split string literals at the first character.
by Manuel Klimek
· 13 years ago
973c942
Format a line if a range in its leading whitespace was selected.
by Daniel Jasper
· 13 years ago
a79064a
Remove whitespace at end of file.
by Daniel Jasper
· 13 years ago
8eb371b
Correctly format arrays of pointers and function types.
by Daniel Jasper
· 13 years ago
f9a84b5
Normal indent for last element of builder-type call.
by Daniel Jasper
· 13 years ago
3324cbe
Remove trailing whitespace of line comments.
by Daniel Jasper
· 13 years ago
e317d1b
Implements breaking string literals at slashes.
by Manuel Klimek
· 13 years ago
b176cff
Implement fallback split point for string literals.
by Manuel Klimek
· 13 years ago
a400cab
Reduce penalty for splitting after "{" in static initializers.
by Daniel Jasper
· 13 years ago
9a23be7
Dont break between (( in __attribute__((.
by Daniel Jasper
· 13 years ago
ff6c3a9
No spaces around pointers to members.
by Daniel Jasper
· 13 years ago
c22f5b4
Improve formatting of #defines.
by Daniel Jasper
· 13 years ago
57d4a58
Fix bug when formatting "A<A<A>>".
by Daniel Jasper
· 13 years ago
ead41b6
Fix incorrect recognition of bin-packing.
by Daniel Jasper
· 13 years ago
d8ffcfa
Fix spacing after binary operator as macro parameter.
by Daniel Jasper
· 13 years ago
8e55927
Fix formatting of multiplications in array subscripts.
by Daniel Jasper
· 13 years ago
2cf17bf
Enable bin-packing in Google style.
by Daniel Jasper
· 13 years ago
70bc874
Fix bad line break decision.
by Daniel Jasper
· 13 years ago
16b3562
In range-based for-loops, prefer splitting after ":".
by Daniel Jasper
· 13 years ago
fb5e241
Only keep empty lines in unwrapped lines if they preceed a line comment.
by Daniel Jasper
· 13 years ago
5497fce
Only break string literals as a last resort.
by Daniel Jasper
· 13 years ago
62e6817
Re-add hack that caused regression.
by Daniel Jasper
· 13 years ago
26d1b1d
Allow breaking between a type and name in variable declarations.
by Daniel Jasper
· 13 years ago
cd8599e
Better formatting of conditional expressions.
by Daniel Jasper
· 13 years ago
ba0bda9
Don't recognize unnamed pointer parameters as casts.
by Daniel Jasper
· 13 years ago
af5ba0e
Allow splitting between string literals and identifiers.
by Daniel Jasper
· 13 years ago
12ef4e5
Consistently put {} onto the same line for empty functions.
by Daniel Jasper
· 13 years ago
37905f7
Allow breaking between type and name in for loops.
by Daniel Jasper
· 13 years ago
0c91571
Fix regression in string literal alignment.
by Manuel Klimek
· 13 years ago
02f640a
Fixes bug in string literal alignment.
by Manuel Klimek
· 13 years ago
dc7d581
Don't remove blank lines within unwrapped lines.
by Daniel Jasper
· 13 years ago
1998ea2
Implements breaking of string literals if they stick out.
by Manuel Klimek
· 13 years ago
6db1b7c
Add missing clang-format null pointer check..
by Daniel Jasper
· 13 years ago
0047596
Correctly format macro with unfinished template declaration.
by Daniel Jasper
· 13 years ago
e53beb2
Improve indentation of builder type calls.
by Daniel Jasper
· 13 years ago
9ed9ade
Improve formatting of builder-type calls.
by Daniel Jasper
· 13 years ago
55d7ba6
Reformat lines if they were "moved around".
by Daniel Jasper
· 13 years ago
5065bc4
Correctly determine */& usage in more cases.
by Daniel Jasper
· 13 years ago
2ec3ffb8
Always break after multi-line string literals.
by Daniel Jasper
· 13 years ago
40c36c5
Prevent line breaks that make stuff hard to read.
by Daniel Jasper
· 13 years ago
eb50c67
Recognize < and > as binary expressions in builder-type calls.
by Daniel Jasper
· 13 years ago
0af92eb
Done break between 'operator' and '<<'.
by Daniel Jasper
· 13 years ago
23e8e0c
Re-enable ConstructorInitializerAllOnOneLineOrOnePerLine option.
by Daniel Jasper
· 13 years ago
54a8602
Prevent only breaking before "?" in conditional expressions.
by Daniel Jasper
· 13 years ago
e11095a
Fix counting of parameters so that r175162 works as expected.
by Daniel Jasper
· 13 years ago
687af3b
Reduce penalty for breaking before ./-> after complex calls.
by Daniel Jasper
· 13 years ago
2457010
Remove the trailing whitespace of formatted lines.
by Daniel Jasper
· 13 years ago
66e9dee
Get less confused by trailing comma in Google style.
by Daniel Jasper
· 13 years ago
b315ede
Remove accidentally committed empty test.
by Daniel Jasper
· 13 years ago
eead02b
Align superclasses for multiple inheritence.
by Daniel Jasper
· 13 years ago
b9caeac
Allow breaking after the return type in function declarations.
by Daniel Jasper
· 13 years ago
525264c
Fix comment alignment close to the column limit.
by Daniel Jasper
· 13 years ago
71800c4
Formatter: And more cast tests (these don't pass yet).
by Nico Weber
· 13 years ago
4401b2a
Formatter: Add more cast tests.
by Nico Weber
· 13 years ago
c6fe216
Formatter: Refactor the cast detection code to be a bit more readable.
by Nico Weber
· 13 years ago
a789239
Formatter: Detect ObjC method expressions after casts.
by Nico Weber
· 13 years ago
f52ab8d
Fix crash for incomplete labels in macros.
by Daniel Jasper
· 13 years ago
2204562
Fix bug in the adjustment to existing lines.
by Daniel Jasper
· 13 years ago
4444917
Formatter: Correctly format stars in `sizeof(int**)` and similar places.
by Nico Weber
· 13 years ago
29f9dea
Formatter: Detect ObjC message expressions after 'in' in loop
by Nico Weber
· 13 years ago
2549956
Get rid of manual debug output, now that the test runner supports it.
by Manuel Klimek
· 13 years ago
eef3049
Fix invalid formatting with spaces before trailing comments.
by Daniel Jasper
· 13 years ago
0c13795
Fixes handling of empty lines in macros.
by Manuel Klimek
· 13 years ago
35d2dc7
Fix formatting of overloaded operator definitions.
by Daniel Jasper
· 13 years ago
Next »