Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
c2ac68e09f4adf0f9fcfe53c1fcc5e87d069806a
/
lib
/
Format
/
Format.cpp
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
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
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
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
86721d2
Implements more principled comment parsing.
by Manuel Klimek
· 12 years ago
3298327
Let the formatter be more restrictive for breaking around . and ->
by Daniel Jasper
· 12 years ago
ffee171
Fix "*" formatting when creating arrays of pointers.
by Daniel Jasper
· 12 years ago
821627e
Remove "incorrect" aligning of trailing comments.
by Daniel Jasper
· 12 years ago
05bf827
Formatter: Set MatchingParen for [], to match <>, (), {}. No functionality change.
by Nico Weber
· 12 years ago
Next »