Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
0178673f541685cf5067814dfeee2644078e39a9
/
lib
/
Format
/
Format.cpp
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
3f29fbb
Formatter: Rename LSquare to Left to make parseSquare() more consistent with the other paren parsing methods.
by Nico Weber
· 12 years ago
2f1ac41
Fixes formatting of empty blocks.
by Manuel Klimek
· 12 years ago
032f253
Fix parsing of templated declarations.
by Daniel Jasper
· 12 years ago
9c8c40e
Fix bug discovered by valgrind.
by Daniel Jasper
· 12 years ago
4c12812
Fixes issues around pulling in the next line in simple if statements.
by Manuel Klimek
· 12 years ago
c79afda
Reduce penalty for splitting between ")" and ".".
by Daniel Jasper
· 12 years ago
7d1185d
Also align trailing line comments in include directives.
by Daniel Jasper
· 12 years ago
dcc2a62
Let the formatter align trailing line comments where possible.
by Daniel Jasper
· 12 years ago
94fb729
Formatter: After case blocks, "break" goes on the same line as the "}", PR14907.
by Nico Weber
· 12 years ago
6a21a55
Formatter: The contents of @selector() should be formatted as a selector.
by Nico Weber
· 12 years ago
5096a44
Formatter: Get bit tests in ifs right.
by Nico Weber
· 12 years ago
60ca75d
Allow breaking after the trailing const after a function declaration.
by Daniel Jasper
· 12 years ago
2c6cc48
Improve handling of comments in static initializers.
by Daniel Jasper
· 12 years ago
aab6005
Revert most of r172140.
by Nico Weber
· 12 years ago
1661824
Fix a bug where we would move a following line into a comment.
by Daniel Jasper
· 12 years ago
1f2b078
Fix parsing error in conditional expressions.
by Daniel Jasper
· 12 years ago
48bd7b7
Improve understanding of unary operators.
by Daniel Jasper
· 12 years ago
df3736a
Disable inlining of short ifs in Google style.
by Daniel Jasper
· 12 years ago
0df6acd
Add option to avoid "bin-packing" of parameters.
by Daniel Jasper
· 12 years ago
ca547db
Add debugging support for split penalties.
by Manuel Klimek
· 12 years ago
3f8cdbf
Calculate the total length of a line up to each token up front.
by Daniel Jasper
· 12 years ago
cbb6c41
Change the datastructure for UnwrappedLines.
by Daniel Jasper
· 12 years ago
6b825c2
Never merge < and ::, as it produces different tokens.
by Daniel Jasper
· 12 years ago
55b08e7
Remove errors were if statements were incorrectly put on a single line.
by Daniel Jasper
· 12 years ago
1913230
Do not traverse the break-state when we know we cannot break anyway.
by Manuel Klimek
· 12 years ago
407a31a
Fix formatting of preprocessor directives (incluces, warnings & errors).
by Manuel Klimek
· 12 years ago
b369c2c
Improve operator kind detection in presence of comments.
by Daniel Jasper
· 12 years ago
2c7739e
Fixes formatting of nested brace initializers.
by Manuel Klimek
· 12 years ago
6f5bb2c
Make single-line if statements optional.
by Daniel Jasper
· 12 years ago
fd0ca97
Fix a bug in the line merging.
by Daniel Jasper
· 12 years ago
2b9c10b
Fix bug that would lead to joining preprocessor directives.
by Daniel Jasper
· 12 years ago
e0b15ea
Put simple preprocessor directives on a single line.
by Daniel Jasper
· 12 years ago
feb18f5
Put short if statements on a single line.
by Daniel Jasper
· 12 years ago
995e820
Refactor datastructure used in clang-format.
by Daniel Jasper
· 12 years ago
4abbb53
Improve understanding post increment and decrement.
by Daniel Jasper
· 12 years ago
a4ae9f3
Custom DiagnosticConsumer parameter of reformat() + silence diagnostics in unit tests.
by Alexander Kornienko
· 12 years ago
487f64b
Stronger respect the input codes line breaks wrt. comments.
by Daniel Jasper
· 12 years ago
4e9008a
Always put a space after ",".
by Daniel Jasper
· 12 years ago
8134e1e
Don't put spaces around hyphens in include paths.
by Daniel Jasper
· 12 years ago
4981bd0
Improve identification of c-style casts.
by Daniel Jasper
· 12 years ago
cd45833
Formatter: Don't insert a space before unary operators after selector names.
by Nico Weber
· 12 years ago
ea86563
Formatter: Remove debugging junk I accidentally landed in r172333.
by Nico Weber
· 12 years ago
e8ccc81
Formatter: Prefer breaking before ObjC selector names over breaking at their ':'
by Nico Weber
· 12 years ago
cfa88f8
Remove useless 'llvm::' qualifier from names like StringRef and others that are
by Dmitri Gribenko
· 12 years ago
b14d1ca
Remove unused private field.
by Rafael Espindola
· 12 years ago
b312314
Fix incorrect comparison operator causing loooong formatting times.
by Daniel Jasper
· 12 years ago
f681fa8
Formatter: Remove an always-false condition.
by Nico Weber
· 12 years ago
774b973
Formatter: Remove a redundant CurrentLineType check.
by Nico Weber
· 12 years ago
bcfdd26
Formatter: Initial support for formatting Objective-C method expressions.
by Nico Weber
· 12 years ago
5e9f91c
Formatter: * and & are binary operators before ( and [.
by Nico Weber
· 12 years ago
2355ceb
Formatter: * and & are binary operators after ) and ].
by Nico Weber
· 12 years ago
cc191d1
Formatter: + and - after { are unary operators.
by Nico Weber
· 12 years ago
67015ed
Formatter: Format ObjC static and instance methods consistently, add a test for that.
by Nico Weber
· 12 years ago
d5688cf
Fix single-line optimization for ObjC.
by Manuel Klimek
· 12 years ago
517e894
Implements pulling simple blocks into a single line.
by Manuel Klimek
· 12 years ago
088dab5
Correct spacing around new and delete.
by Daniel Jasper
· 12 years ago
7d19bc2
Improve handling of trailing declaration annotations.
by Daniel Jasper
· 12 years ago
Next »