Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
f857950d391d06d490e2ecf014678b4dee24003f
/
clang
/
lib
/
Format
/
Format.cpp
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
337816e
Refactor IndentState into two classes.
by Daniel Jasper
· 13 years ago
9efe291
Formatter: Put spaces in ObjC method decls in the right place for Google style.
by Nico Weber
· 13 years ago
a2a8495
Formatter: No spaces around '=' in @property lines.
by Nico Weber
· 13 years ago
a608775
Formatting: In @implementation etc lines, put a space before protocol lists.
by Nico Weber
· 13 years ago
51bd6ec
Refactoring the outermost structure of the formatter.
by Manuel Klimek
· 13 years ago
a1a5abd
Formatter: Don't put a space in ObjC number literals like @+50
by Nico Weber
· 13 years ago
2bb0074
Formatter: Add space before '(' in @implemenation, @interface, @protocol lines
by Nico Weber
· 13 years ago
b2c6dbe
Pull calculation whether a line fits one level up.
by Manuel Klimek
· 13 years ago
0b689fd
Pulling formatFirstToken one level up.
by Manuel Klimek
· 13 years ago
0ddd57a
Fixes layout of right braces.
by Manuel Klimek
· 13 years ago
5b7157a
Basic support for diagnostics.
by Alexander Kornienko
· 13 years ago
73a2fdf
Fixes formatting of function calls etc inside an initializer list.
by Manuel Klimek
· 13 years ago
e7d10a1
Do not add newline in empty blocks.
by Manuel Klimek
· 13 years ago
c1fa281
Improvements to function type and ObjC block formatting.
by Daniel Jasper
· 13 years ago
8e07a1b
Fix layout of blocks inside statements.
by Manuel Klimek
· 13 years ago
7194e18
Improve clang-format's understanding of casts.
by Daniel Jasper
· 13 years ago
83a54d2
Do more error checking for '{}'.
by Daniel Jasper
· 13 years ago
bbe28b3
Formatter: Remove unused @-formatting code.
by Nico Weber
· 13 years ago
51306d2
Formatter: @optional and @required go on their own line.
by Nico Weber
· 13 years ago
52b1515
Enables layouting unwrapped lines around preprocessor directives.
by Manuel Klimek
· 13 years ago
bcab430
Only align after assignments on the top level.
by Daniel Jasper
· 13 years ago
2df9331
Don't simply give up when exceeding 80cols, choose an "ok" option.
by Daniel Jasper
· 13 years ago
8905894
Correctly format wrapped function call parameters in templated functions.
by Daniel Jasper
· 13 years ago
d8bb2db
Allow comments in the middle of statements to be on their own line.
by Daniel Jasper
· 13 years ago
fb3f248
Fix ObjC block declarations.
by Daniel Jasper
· 13 years ago
399d24b
Improve formatting of conditional operators.
by Daniel Jasper
· 13 years ago
66dcb1c
Don't break after unary operators.
by Daniel Jasper
· 13 years ago
77aa250
Formatter: Format @ literals better. Array and dictionary literals need more work.
by Nico Weber
· 13 years ago
4f39715
Don't put spaces around ##.
by Daniel Jasper
· 13 years ago
7c85fde
Change the data structure used in clang-format.
by Daniel Jasper
· 13 years ago
04e9f1a
Formatter: Support @public/@protected/@package/@private.
by Nico Weber
· 13 years ago
d5650bd
Formatter: Add tests for try/catch. Let 'throw' start an expression.
by Nico Weber
· 13 years ago
e89c42f
Formatter: Don't put spaces betwen @ and objc keywords.
by Nico Weber
· 13 years ago
f8673bc
Small refactoring of the formatter code.
by Daniel Jasper
· 13 years ago
49cbc2c
Fix typo.
by Nico Weber
· 13 years ago
8d1832e
Reformat clang-formats source code.
by Daniel Jasper
· 13 years ago
206df73
Prefer not to break after assignments.
by Daniel Jasper
· 13 years ago
5ad1e19
Add style option for number of spaces before trailing comments.
by Daniel Jasper
· 13 years ago
da16db3
Do not break before "0" in pure virtual function declarations.
by Daniel Jasper
· 13 years ago
c6827ae
Remove outdated fixme.
by Manuel Klimek
· 13 years ago
38ba11e
Do not ever allow using the full line in preprocessor directives.
by Manuel Klimek
· 13 years ago
c74d292
Fix layouting of single-line-comments preceded by an escaped newline.
by Manuel Klimek
· 13 years ago
ef92069
Fix layouting of tokens with a leading escaped newline.
by Manuel Klimek
· 13 years ago
c7345cc
Put a higher penalty on breaking before "." or "->".
by Daniel Jasper
· 13 years ago
52d0fd8
Fixes parsing of hash tokens in the middle of a line.
by Manuel Klimek
· 13 years ago
1abf789
Various fixes to clang-format's macro handling.
by Manuel Klimek
· 13 years ago
3c2557d
Correctly format dereference and address of in array parameters.
by Daniel Jasper
· 13 years ago
c0880a9
Let the formatter ignore UnwrappedLines containing errors.
by Daniel Jasper
· 13 years ago
b69e3c6
Fixes multiple formatting bugs.
by Manuel Klimek
· 13 years ago
90e51fd
Don't allow line breaks after template parameters.
by Daniel Jasper
· 13 years ago
3c0431c
Format */& as binary operator if followed by a unary operator.
by Daniel Jasper
· 13 years ago
a71e5d8
Fixes use of unescaped newlines when formatting preprocessor directives.
by Manuel Klimek
· 13 years ago
542de16
Correctly format pointers and references in casts.
by Daniel Jasper
· 13 years ago
da1c68a
Understand unary operators after "return" and "case".
by Daniel Jasper
· 13 years ago
ac5c1c2
Prefer splitting after "template <...>" and fix indentation.
by Daniel Jasper
· 13 years ago
3d0c75c
Prefer to break after operators over breaking after "(".
by Daniel Jasper
· 13 years ago
44eb4f6
Re-sort #include lines using the llvm/utils/sort_includes.py script.
by Chandler Carruth
· 13 years ago
22bcf8a
Understand * and & in ternary expressions.
by Daniel Jasper
· 13 years ago
d1926a3
Don't break after pointer or reference specifier.
by Daniel Jasper
· 13 years ago
8fbd968
Let clang-format format itself.
by Daniel Jasper
· 13 years ago
6d82272
Penalize tokens with a lower parenthesis level than the start of the line.
by Daniel Jasper
· 13 years ago
2eda23e
Align RHS after assignments and return statements.
by Daniel Jasper
· 13 years ago
537a296
Fix formatting over overloaded operators.
by Daniel Jasper
· 13 years ago
de5c207
Take operator precedence into account when splitting lines.
by Daniel Jasper
· 13 years ago
6f372e6
libFormat: Teach the *& usage heuristic that "return" starts a rhs too.
by Nico Weber
· 13 years ago
8f83ee4
format: Handle #import as include directive too.
by Nico Weber
· 13 years ago
050948a5
clang-format: No spaces around directory specifiers
by Daniel Jasper
· 13 years ago
3b1604e
Fix typo.
by Fariborz Jahanian
· 13 years ago
fbde69e
Basic support for formatting for-loops.
by Daniel Jasper
· 13 years ago
ab7654e
Use OperatorPrecedence.h in clang-format
by Daniel Jasper
· 13 years ago
8dd4047
Formatting fixes for PR14680
by Daniel Jasper
· 13 years ago
68a542a
Add objective-C style formatting to clang format and
by Fariborz Jahanian
· 13 years ago
2af6bbe
Better support for constructor initializers.
by Daniel Jasper
· 13 years ago
5485d0c
Add basic support for splitting before function calls if it can't be avoided.
by Daniel Jasper
· 13 years ago
e25509f
Fix several formatting problems.
by Daniel Jasper
· 13 years ago
a439686
Addi formatting tests for pointer template parameters.
by Daniel Jasper
· 13 years ago
2ca766f
Clang-format: error recovery for access specifiers
by Alexander Kornienko
· 13 years ago
e327684
Clang-format: extracted FormatTokenSource from UnwrappedLineParser.
by Alexander Kornienko
· 13 years ago
2723403
Small tweaks to clang-format.
by Daniel Jasper
· 13 years ago
578fdd8
Clang-format: IndentCaseLabels option, proper namespace handling
by Alexander Kornienko
· 13 years ago
26333c3
Improve clang-format's handling of unary operators.
by Daniel Jasper
· 13 years ago
e9de260
"<<" alignment for clang-format.
by Daniel Jasper
· 13 years ago
55b6b64
Remove bad and useless enum to bool conversion.
by Daniel Jasper
· 13 years ago
aa1c920
Indentation fixes for clang-format.
by Daniel Jasper
· 13 years ago
bc09a7e
Follow-up to r169286, addresses comments in http://llvm-reviews.chandlerc.com/D164#comment-4 : comments and a method rename
by Alexander Kornienko
· 13 years ago
Next »