Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
cd458330d0cdced36a49f1d66cd9c5908f46d939
/
lib
/
Format
/
Format.cpp
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
7e9bf8c
Improved formatting of constructor initializers
by Daniel Jasper
· 12 years ago
604eb4c
Refactor IndentState into two classes.
by Daniel Jasper
· 12 years ago
cd52bda
Formatter: Put spaces in ObjC method decls in the right place for Google style.
by Nico Weber
· 12 years ago
7084823
Formatter: No spaces around '=' in @property lines.
by Nico Weber
· 12 years ago
5f500df
Formatting: In @implementation etc lines, put a space before protocol lists.
by Nico Weber
· 12 years ago
f9ea2ed
Refactoring the outermost structure of the formatter.
by Manuel Klimek
· 12 years ago
81ed2f1
Formatter: Don't put a space in ObjC number literals like @+50
by Nico Weber
· 12 years ago
ed91bba
Formatter: Add space before '(' in @implemenation, @interface, @protocol lines
by Nico Weber
· 12 years ago
94fc6f1
Pull calculation whether a line fits one level up.
by Manuel Klimek
· 12 years ago
3f8c7f3
Pulling formatFirstToken one level up.
by Manuel Klimek
· 12 years ago
c8c8a47
Fixes layout of right braces.
by Manuel Klimek
· 12 years ago
3048aea
Basic support for diagnostics.
by Alexander Kornienko
· 12 years ago
2851c16
Fixes formatting of function calls etc inside an initializer list.
by Manuel Klimek
· 12 years ago
36fab8d
Do not add newline in empty blocks.
by Manuel Klimek
· 12 years ago
46ef852
Improvements to function type and ObjC block formatting.
by Daniel Jasper
· 12 years ago
bb42bf1
Fix layout of blocks inside statements.
by Manuel Klimek
· 12 years ago
5cf7cf3
Improve clang-format's understanding of casts.
by Daniel Jasper
· 12 years ago
700e710
Do more error checking for '{}'.
by Daniel Jasper
· 12 years ago
880e538
Formatter: Remove unused @-formatting code.
by Nico Weber
· 12 years ago
b530fa3
Formatter: @optional and @required go on their own line.
by Nico Weber
· 12 years ago
526ed11
Enables layouting unwrapped lines around preprocessor directives.
by Manuel Klimek
· 12 years ago
3fc0bb7
Only align after assignments on the top level.
by Daniel Jasper
· 12 years ago
ceb99ab
Don't simply give up when exceeding 80cols, choose an "ok" option.
by Daniel Jasper
· 12 years ago
d64f738
Correctly format wrapped function call parameters in templated functions.
by Daniel Jasper
· 12 years ago
043835a
Allow comments in the middle of statements to be on their own line.
by Daniel Jasper
· 12 years ago
886568d
Fix ObjC block declarations.
by Daniel Jasper
· 12 years ago
9c837d0
Improve formatting of conditional operators.
by Daniel Jasper
· 12 years ago
2db356d
Don't break after unary operators.
by Daniel Jasper
· 12 years ago
cb4d690
Formatter: Format @ literals better. Array and dictionary literals need more work.
by Nico Weber
· 12 years ago
765561f
Don't put spaces around ##.
by Daniel Jasper
· 12 years ago
26f7e78
Change the data structure used in clang-format.
by Daniel Jasper
· 12 years ago
6092d4e
Formatter: Support @public/@protected/@package/@private.
by Nico Weber
· 12 years ago
a9ccdd1
Formatter: Add tests for try/catch. Let 'throw' start an expression.
by Nico Weber
· 12 years ago
d0af4b4
Formatter: Don't put spaces betwen @ and objc keywords.
by Nico Weber
· 12 years ago
da92771
Small refactoring of the formatter code.
by Daniel Jasper
· 12 years ago
decf7bc
Fix typo.
by Nico Weber
· 12 years ago
cd16238
Reformat clang-formats source code.
by Daniel Jasper
· 12 years ago
9cda800
Prefer not to break after assignments.
by Daniel Jasper
· 12 years ago
7ad4eff
Add style option for number of spaces before trailing comments.
by Daniel Jasper
· 12 years ago
7160751
Do not break before "0" in pure virtual function declarations.
by Daniel Jasper
· 12 years ago
f39f6ff
Remove outdated fixme.
by Manuel Klimek
· 12 years ago
d544c57
Do not ever allow using the full line in preprocessor directives.
by Manuel Klimek
· 12 years ago
6cf5814
Fix layouting of single-line-comments preceded by an escaped newline.
by Manuel Klimek
· 12 years ago
9541938
Fix layouting of tokens with a leading escaped newline.
by Manuel Klimek
· 12 years ago
46a46a2
Put a higher penalty on breaking before "." or "->".
by Daniel Jasper
· 12 years ago
f6fd00b
Fixes parsing of hash tokens in the middle of a line.
by Manuel Klimek
· 12 years ago
d4397b9
Various fixes to clang-format's macro handling.
by Manuel Klimek
· 12 years ago
9bb0d28
Correctly format dereference and address of in array parameters.
by Daniel Jasper
· 12 years ago
1f42f11
Let the formatter ignore UnwrappedLines containing errors.
by Daniel Jasper
· 12 years ago
060143e
Fixes multiple formatting bugs.
by Manuel Klimek
· 12 years ago
5eda31e
Don't allow line breaks after template parameters.
by Daniel Jasper
· 12 years ago
ba3d307
Format */& as binary operator if followed by a unary operator.
by Daniel Jasper
· 12 years ago
a080a18
Fixes use of unescaped newlines when formatting preprocessor directives.
by Manuel Klimek
· 12 years ago
ef5b9c3
Correctly format pointers and references in casts.
by Daniel Jasper
· 12 years ago
1f0754b
Understand unary operators after "return" and "case".
by Daniel Jasper
· 12 years ago
9a64fb5
Prefer splitting after "template <...>" and fix indentation.
by Daniel Jasper
· 12 years ago
723f030
Prefer to break after operators over breaking after "(".
by Daniel Jasper
· 12 years ago
b99083e
Re-sort #include lines using the llvm/utils/sort_includes.py script.
by Chandler Carruth
· 12 years ago
5d33440
Understand * and & in ternary expressions.
by Daniel Jasper
· 12 years ago
4dc41de
Don't break after pointer or reference specifier.
by Daniel Jasper
· 12 years ago
d7610b8
Let clang-format format itself.
by Daniel Jasper
· 12 years ago
a4974cf
Penalize tokens with a lower parenthesis level than the start of the line.
by Daniel Jasper
· 12 years ago
cf225b6
Align RHS after assignments and return statements.
by Daniel Jasper
· 12 years ago
f6aef6a
Fix formatting over overloaded operators.
by Daniel Jasper
· 12 years ago
e2c7acf
Take operator precedence into account when splitting lines.
by Daniel Jasper
· 12 years ago
00d5a04
libFormat: Teach the *& usage heuristic that "return" starts a rhs too.
by Nico Weber
· 12 years ago
b23ae0c
format: Handle #import as include directive too.
by Nico Weber
· 12 years ago
cd1a32b
clang-format: No spaces around directory specifiers
by Daniel Jasper
· 12 years ago
5f04ef5
Fix typo.
by Fariborz Jahanian
· 12 years ago
a324a0e
Basic support for formatting for-loops.
by Daniel Jasper
· 12 years ago
675d2e3
Use OperatorPrecedence.h in clang-format
by Daniel Jasper
· 12 years ago
98e6b4a
Formatting fixes for PR14680
by Daniel Jasper
· 12 years ago
154120c
Add objective-C style formatting to clang format and
by Fariborz Jahanian
· 12 years ago
1321eb5
Better support for constructor initializers.
by Daniel Jasper
· 12 years ago
9a0b494
Add basic support for splitting before function calls if it can't be avoided.
by Daniel Jasper
· 12 years ago
05b1ac8
Fix several formatting problems.
by Daniel Jasper
· 12 years ago
8b39c66
Addi formatting tests for pointer template parameters.
by Daniel Jasper
· 12 years ago
56e49c5
Clang-format: error recovery for access specifiers
by Alexander Kornienko
· 12 years ago
469a21b
Clang-format: extracted FormatTokenSource from UnwrappedLineParser.
by Alexander Kornienko
· 12 years ago
c74e279
Small tweaks to clang-format.
by Daniel Jasper
· 12 years ago
1575731
Clang-format: IndentCaseLabels option, proper namespace handling
by Alexander Kornienko
· 12 years ago
d56a737
Improve clang-format's handling of unary operators.
by Daniel Jasper
· 12 years ago
3b5943f
"<<" alignment for clang-format.
by Daniel Jasper
· 12 years ago
Next »