Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
abfc9c160ad65e890b66480f3c52e9b5ef7bf4d8
/
lib
/
Format
/
Format.cpp
abfc9c1
Fix bug discovered with address sanitizer.
by Daniel Jasper
· 11 years ago
8ed9f2b
Improve formatting of for loops and multi-variable DeclStmts.
by Daniel Jasper
· 11 years ago
3776ef3
Cleanup, add comments and address review comments.
by Daniel Jasper
· 11 years ago
3791130
Fix some inconsistent use of indentation.
by Daniel Jasper
· 11 years ago
81d2d38
Improve formatting of function types.
by Daniel Jasper
· 11 years ago
94b748f
Insert extra new line before access specifiers.
by Alexander Kornienko
· 11 years ago
5262dd9
Split line comments
by Alexander Kornienko
· 11 years ago
c363dbb
Align comments to surrounding unformatted comments.
by Daniel Jasper
· 12 years ago
b64eca0
Make clang-format understand more line comments.
by Daniel Jasper
· 12 years ago
7c22cf3
Better block comment formatting.
by Alexander Kornienko
· 12 years ago
92f9faf
Remove assertion that can be triggered on bad input.
by Daniel Jasper
· 12 years ago
83a90e5
Do not consider comments when adjusting to local indent style.
by Daniel Jasper
· 12 years ago
64f0928
Reduce penalty for breaks after "(" for functions with parameters.
by Daniel Jasper
· 12 years ago
f9955d3
Add extra indentation for multiline comparisons.
by Daniel Jasper
· 12 years ago
052685c
Split long lines in multi-line comments.
by Alexander Kornienko
· 12 years ago
3af59ce
Improve formatting of chained calls.
by Daniel Jasper
· 12 years ago
1fdd8b3
Indent all lines in a multi-line comment by the same amount.
by Alexander Kornienko
· 12 years ago
f753615
Multi-line comment alignment
by Alexander Kornienko
· 12 years ago
923ebef
Basic support for formatting asm() statments.
by Daniel Jasper
· 12 years ago
6050a1e
Fix comment indentation before labels.
by Daniel Jasper
· 12 years ago
e74de28
Added AnnotatedToken::isOneOf + a few other refactorings
by Alexander Kornienko
· 12 years ago
6f21a98
Fix formatting of new arrays of pointers.
by Daniel Jasper
· 12 years ago
aa62d0c
Fixes breaking of string literals.
by Manuel Klimek
· 12 years ago
f302354
Remove unncessary whitespace when triggered on empty line.
by Daniel Jasper
· 12 years ago
0090591
Make sure to not split string literals at the first character.
by Manuel Klimek
· 12 years ago
1eee6c4
Format a line if a range in its leading whitespace was selected.
by Daniel Jasper
· 12 years ago
516fb31
Remove whitespace at end of file.
by Daniel Jasper
· 12 years ago
2484971
Normal indent for last element of builder-type call.
by Daniel Jasper
· 12 years ago
812c045
Remove trailing whitespace of line comments.
by Daniel Jasper
· 12 years ago
bc30c71
Implements breaking string literals at slashes.
by Manuel Klimek
· 12 years ago
af31fd7
Implement fallback split point for string literals.
by Manuel Klimek
· 12 years ago
a4d4621
Improve formatting of #defines.
by Daniel Jasper
· 12 years ago
b6f02f3
Fix bug when formatting "A<A<A>>".
by Daniel Jasper
· 12 years ago
3a39ac7
Fix incorrect recognition of bin-packing.
by Daniel Jasper
· 12 years ago
faab0d3
Enable bin-packing in Google style.
by Daniel Jasper
· 12 years ago
1ef81d5
Only keep empty lines in unwrapped lines if they preceed a line comment.
by Daniel Jasper
· 12 years ago
0fb382b
Only break string literals as a last resort.
by Daniel Jasper
· 12 years ago
9c3e71a
Re-add hack that caused regression.
by Daniel Jasper
· 12 years ago
3c08a81
Allow breaking between a type and name in variable declarations.
by Daniel Jasper
· 12 years ago
237d4c1
Better formatting of conditional expressions.
by Daniel Jasper
· 12 years ago
f11a705
Consistently put {} onto the same line for empty functions.
by Daniel Jasper
· 12 years ago
7d81281
Allow breaking between type and name in for loops.
by Daniel Jasper
· 12 years ago
e9a6226
Fix regression in string literal alignment.
by Manuel Klimek
· 12 years ago
b56b6d1
Fixes bug in string literal alignment.
by Manuel Klimek
· 12 years ago
c4615b7
Don't remove blank lines within unwrapped lines.
by Daniel Jasper
· 12 years ago
8092a94
Implements breaking of string literals if they stick out.
by Manuel Klimek
· 12 years ago
d789670
Fix bug in LineState comparison function.
by Daniel Jasper
· 12 years ago
82282dc
Improve indentation of builder type calls.
by Daniel Jasper
· 12 years ago
2933316
Reformat lines if they were "moved around".
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
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
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
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
62a48fb
Pull search state out as class members.
by Manuel Klimek
· 12 years ago
32a2fd7
An attempt to make the search algorithm easier to understand.
by Manuel Klimek
· 12 years ago
9ece2bb
Fix bug in the adjustment to existing lines.
by Daniel Jasper
· 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
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
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
474e462
Fix bug in the alignment of comments.
by Daniel Jasper
· 12 years ago
15417ef
Align trailing block comments like trailing line comments.
by Daniel Jasper
· 12 years ago
9e9e6e0
Fix formatting of ObjC method calls.
by Daniel Jasper
· 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
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
cda1650
Improve handling of trailing block comments
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
6758194
Hopefully fix windows build due to non-standard pair implementation.
by Daniel Jasper
· 12 years ago
68ef0df
Revamp of the basic layouting algorithm in clang-format.
by Daniel Jasper
· 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
32d28ee
Move the token annotator into separate files.
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
f40fb4b
Split ">>" in "A<B<C> >" in Chromium style.
by Daniel Jasper
· 12 years ago
b3109e3
Fix uninitialized error caused by r173801.
by Daniel Jasper
· 12 years ago
adc6aba
Calculate the split penalty upfront.
by Daniel Jasper
· 12 years ago
1a1ce83
Fix a comment and reformat clang-format with clang-format
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
Next »