Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
1f5a71492de40dcb9d150815c84506842b3d17b8
/
clang
/
lib
/
Format
/
Format.cpp
1ca05cc
Fix bug in formatting of nested initializers.
by Daniel Jasper
· 13 years ago
83d4e78
Hopefully fix windows build due to non-standard pair implementation.
by Daniel Jasper
· 13 years ago
4b86627
Revamp of the basic layouting algorithm in clang-format.
by Daniel Jasper
· 13 years ago
8a8ce24
Several improvements to the formatting of static initializers.
by Daniel Jasper
· 13 years ago
7b038a2
Don't generate no-op replacements.
by Daniel Jasper
· 13 years ago
7a6d09b
Move the token annotator into separate files.
by Daniel Jasper
· 13 years ago
ddaa9be
Improve formatting of code with comments.
by Daniel Jasper
· 13 years ago
f7db433
Allow all parameters on next line for function calls in Chrome.
by Daniel Jasper
· 13 years ago
17fdaa4
Split ">>" in "A<B<C> >" in Chromium style.
by Daniel Jasper
· 13 years ago
85f16f9
Fix uninitialized error caused by r173801.
by Daniel Jasper
· 13 years ago
cf33000
Calculate the split penalty upfront.
by Daniel Jasper
· 13 years ago
bbc8415
Fix a comment and reformat clang-format with clang-format
by Daniel Jasper
· 13 years ago
38c11ce
Initial support for multiple variable declarations.
by Daniel Jasper
· 13 years ago
6a217e1
Reverting changes from r173785 (removing empty lines before "}").
by Daniel Jasper
· 13 years ago
aa94a90
Remove empty lines before "}".
by Daniel Jasper
· 13 years ago
48c62f9
Fix a bug that would lead to bad line break decisions in for loops.
by Daniel Jasper
· 13 years ago
d36ef5e
Don't put a function's return type on its own line in Google style.
by Daniel Jasper
· 13 years ago
d2639ef
Let clang-format break after a function's return type.
by Daniel Jasper
· 13 years ago
65585ed
Make continuations in constructor initializers consistent.
by Daniel Jasper
· 13 years ago
0b41cbb
Initial support for formatting range-based for-loops.
by Daniel Jasper
· 13 years ago
ca6623b
Improve formatting of conditional expressions.
by Daniel Jasper
· 13 years ago
20b09ef
Several small changes in formatting decisions.
by Daniel Jasper
· 13 years ago
4ad4235
Improve indentation after breaking at nested name specifiers.
by Daniel Jasper
· 13 years ago
7b5773e9
Avoid confusing identations for multi-parameter functions.
by Daniel Jasper
· 13 years ago
7a31af1
Fix some alignment and line break decisions.
by Daniel Jasper
· 13 years ago
4579702
Allow breaking after "::" if absolutely necessary.
by Daniel Jasper
· 13 years ago
39e2738
Add extra indent for nested calls inside if's.
by Daniel Jasper
· 13 years ago
a836b90
Don't try to align builder-type continuations on assignments.
by Daniel Jasper
· 13 years ago
1565eb3
Don't try to do a hanging ident after assignments.
by Daniel Jasper
· 13 years ago
c1237a8
Fixes layouting regression and invalid-read.
by Manuel Klimek
· 13 years ago
420d7d3
Fix the formatting of pointer/reference types in range-based for loops.
by Daniel Jasper
· 13 years ago
43b6548
Removing the penalty for breaking after "=".
by Daniel Jasper
· 13 years ago
5b49f47
Fix another regression for pointer types.
by Daniel Jasper
· 13 years ago
b9c0908
Fix regression in formatting pointer types.
by Daniel Jasper
· 13 years ago
d33516e
Fix segfaults in the formatter.
by Manuel Klimek
· 13 years ago
e941b16
Add option to allow putting all parameters onto the next line.
by Daniel Jasper
· 13 years ago
0a3a3c9
Allow us to better guess the context of an unwrapped line.
by Manuel Klimek
· 13 years ago
f92f7bc
Implements more principled comment parsing.
by Manuel Klimek
· 13 years ago
50e7ab7
Let the formatter be more restrictive for breaking around . and ->
by Daniel Jasper
· 13 years ago
0b82060
Fix "*" formatting when creating arrays of pointers.
by Daniel Jasper
· 13 years ago
304a986
Remove "incorrect" aligning of trailing comments.
by Daniel Jasper
· 13 years ago
767c8d3
Formatter: Set MatchingParen for [], to match <>, (), {}. No functionality change.
by Nico Weber
· 13 years ago
ed272de
Formatter: Rename LSquare to Left to make parseSquare() more consistent with the other paren parsing methods.
by Nico Weber
· 13 years ago
a4fe1c1
Fixes formatting of empty blocks.
by Manuel Klimek
· 13 years ago
c228619
Fix parsing of templated declarations.
by Daniel Jasper
· 13 years ago
d41ee2d
Fix bug discovered by valgrind.
by Daniel Jasper
· 13 years ago
da08761
Fixes issues around pulling in the next line in simple if statements.
by Manuel Klimek
· 13 years ago
0446896
Reduce penalty for splitting between ")" and ".".
by Daniel Jasper
· 13 years ago
997b08c
Also align trailing line comments in include directives.
by Daniel Jasper
· 13 years ago
aa701fa
Let the formatter align trailing line comments where possible.
by Daniel Jasper
· 13 years ago
a5510af
Formatter: After case blocks, "break" goes on the same line as the "}", PR14907.
by Nico Weber
· 13 years ago
250fe71
Formatter: The contents of @selector() should be formatted as a selector.
by Nico Weber
· 13 years ago
80a8276
Formatter: Get bit tests in ifs right.
by Nico Weber
· 13 years ago
fefb1e6
Allow breaking after the trailing const after a function declaration.
by Daniel Jasper
· 13 years ago
11cb81c
Improve handling of comments in static initializers.
by Daniel Jasper
· 13 years ago
772fbfd
Revert most of r172140.
by Nico Weber
· 13 years ago
69987d5
Fix a bug where we would move a following line into a comment.
by Daniel Jasper
· 13 years ago
8c5fba9
Fix parsing error in conditional expressions.
by Daniel Jasper
· 13 years ago
a1dc93a
Improve understanding of unary operators.
by Daniel Jasper
· 13 years ago
ced17f8
Disable inlining of short ifs in Google style.
by Daniel Jasper
· 13 years ago
9278eb9
Add option to avoid "bin-packing" of parameters.
by Daniel Jasper
· 13 years ago
2499810
Add debugging support for split penalties.
by Manuel Klimek
· 13 years ago
a67a8f0
Calculate the total length of a line up to each token up front.
by Daniel Jasper
· 13 years ago
daffc0d
Change the datastructure for UnwrappedLines.
by Daniel Jasper
· 13 years ago
736c14f
Never merge < and ::, as it produces different tokens.
by Daniel Jasper
· 13 years ago
c36492b
Remove errors were if statements were incorrectly put on a single line.
by Daniel Jasper
· 13 years ago
a31e58b
Do not traverse the break-state when we know we cannot break anyway.
by Manuel Klimek
· 13 years ago
99c7baa
Fix formatting of preprocessor directives (incluces, warnings & errors).
by Manuel Klimek
· 13 years ago
7194527
Improve operator kind detection in presence of comments.
by Daniel Jasper
· 13 years ago
a54d1a9
Fixes formatting of nested brace initializers.
by Manuel Klimek
· 13 years ago
1b750ed
Make single-line if statements optional.
by Daniel Jasper
· 13 years ago
3e9218e
Fix a bug in the line merging.
by Daniel Jasper
· 13 years ago
2ab0d01
Fix bug that would lead to joining preprocessor directives.
by Daniel Jasper
· 13 years ago
39825ea
Put simple preprocessor directives on a single line.
by Daniel Jasper
· 13 years ago
25837aa
Put short if statements on a single line.
by Daniel Jasper
· 13 years ago
f1e4b7d
Refactor datastructure used in clang-format.
by Daniel Jasper
· 13 years ago
13f23e1
Improve understanding post increment and decrement.
by Daniel Jasper
· 13 years ago
116ba68
Custom DiagnosticConsumer parameter of reformat() + silence diagnostics in unit tests.
by Alexander Kornienko
· 13 years ago
942ee72
Stronger respect the input codes line breaks wrt. comments.
by Daniel Jasper
· 13 years ago
48cb3b9
Always put a space after ",".
by Daniel Jasper
· 13 years ago
5ef433f
Don't put spaces around hyphens in include paths.
by Daniel Jasper
· 13 years ago
ef906a9
Improve identification of c-style casts.
by Daniel Jasper
· 13 years ago
2827a7e
Formatter: Don't insert a space before unary operators after selector names.
by Nico Weber
· 13 years ago
92c0539
Formatter: Remove debugging junk I accidentally landed in r172333.
by Nico Weber
· 13 years ago
c9d7361
Formatter: Prefer breaking before ObjC selector names over breaking at their ':'
by Nico Weber
· 13 years ago
f857950
Remove useless 'llvm::' qualifier from names like StringRef and others that are
by Dmitri Gribenko
· 13 years ago
8f1187a
Remove unused private field.
by Rafael Espindola
· 13 years ago
7b7877a
Fix incorrect comparison operator causing loooong formatting times.
by Daniel Jasper
· 13 years ago
cb465dc
Formatter: Remove an always-false condition.
by Nico Weber
· 13 years ago
c7a5634
Formatter: Remove a redundant CurrentLineType check.
by Nico Weber
· 13 years ago
a7252d8
Formatter: Initial support for formatting Objective-C method expressions.
by Nico Weber
· 13 years ago
eee7b81
Formatter: * and & are binary operators before ( and [.
by Nico Weber
· 13 years ago
5dafd4a
Formatter: * and & are binary operators after ) and ].
by Nico Weber
· 13 years ago
63a54eb
Formatter: + and - after { are unary operators.
by Nico Weber
· 13 years ago
a21aaae
Formatter: Format ObjC static and instance methods consistently, add a test for that.
by Nico Weber
· 13 years ago
2acb7b7
Fix single-line optimization for ObjC.
by Manuel Klimek
· 13 years ago
f4ab9ef
Implements pulling simple blocks into a single line.
by Manuel Klimek
· 13 years ago
d6a947f
Correct spacing around new and delete.
by Daniel Jasper
· 13 years ago
fd8c4b1
Improve handling of trailing declaration annotations.
by Daniel Jasper
· 13 years ago
2408a8c
Improved formatting of constructor initializers
by Daniel Jasper
· 13 years ago
Next »