aboutsummaryrefslogtreecommitdiff
path: root/unittests/Format/FormatTest.cpp
AgeCommit message (Expand)Author
2013-01-08Don't break after unary operators.Daniel Jasper
2013-01-08Formatter: Format @ literals better. Array and dictionary literals need more ...Nico Weber
2013-01-08Formatter: More ObjC tests.Nico Weber
2013-01-08Formatter: Add tests for some ObjC bits that happen to be formatted correctly.Nico Weber
2013-01-08Don't put spaces around ##.Daniel Jasper
2013-01-08Change the data structure used in clang-format.Daniel Jasper
2013-01-07Formatter: Support @public/@protected/@package/@private.Nico Weber
2013-01-07Fix parsing of variable declarations directly after a class / struct.Manuel Klimek
2013-01-07Formatter: Add tests for try/catch. Let 'throw' start an expression.Nico Weber
2013-01-07Formatter: Don't put spaces betwen @ and objc keywords.Nico Weber
2013-01-07Test all @keywords. Turns out some of them are not formatted correctly yet.Nico Weber
2013-01-07Slightly expand the @ test to cover whitespace between @ and keyword.Nico Weber
2013-01-07Add a test that checks that the formatter doesn't discard '@' with ObjC1 set.Nico Weber
2013-01-07Reformat clang-formats source code.Daniel Jasper
2013-01-07Prefer not to break after assignments.Daniel Jasper
2013-01-07Add style option for number of spaces before trailing comments.Daniel Jasper
2013-01-07Do not break before "0" in pure virtual function declarations.Daniel Jasper
2013-01-07Fix incorrect FIXME.Manuel Klimek
2013-01-07Do not ever allow using the full line in preprocessor directives.Manuel Klimek
2013-01-07Fix layouting of single-line-comments preceded by an escaped newline.Manuel Klimek
2013-01-07Fix layouting of tokens with a leading escaped newline.Manuel Klimek
2013-01-07Put a higher penalty on breaking before "." or "->".Daniel Jasper
2013-01-06Fixes handling of unbalances braces.Manuel Klimek
2013-01-05Fixes parsing of hash tokens in the middle of a line.Manuel Klimek
2013-01-05Fixes PR14801 - preprocessor directives shouldn't be indentedManuel Klimek
2013-01-05Fixes PR14811: Crash when formatting some macrosManuel Klimek
2013-01-04Various fixes to clang-format's macro handling.Manuel Klimek
2013-01-04Correctly format dereference and address of in array parameters.Daniel Jasper
2013-01-04Let the formatter ignore UnwrappedLines containing errors.Daniel Jasper
2013-01-02Fixes multiple formatting bugs.Manuel Klimek
2013-01-02Don't allow line breaks after template parameters.Daniel Jasper
2013-01-02Format */& as binary operator if followed by a unary operator.Daniel Jasper
2013-01-02Fixes use of unescaped newlines when formatting preprocessor directives.Manuel Klimek
2013-01-02Correctly format pointers and references in casts.Daniel Jasper
2013-01-02Understand unary operators after "return" and "case".Daniel Jasper
2013-01-02Prefer splitting after "template <...>" and fix indentation.Daniel Jasper
2013-01-02Prefer to break after operators over breaking after "(".Daniel Jasper
2013-01-02Understand * and & in ternary expressions.Daniel Jasper
2013-01-02Don't break after pointer or reference specifier.Daniel Jasper
2012-12-30Formatter: parse and format inline namespaces like regular namespacesDmitri Gribenko
2012-12-24Penalize tokens with a lower parenthesis level than the start of the line.Daniel Jasper
2012-12-24Align RHS after assignments and return statements.Daniel Jasper
2012-12-24Fix formatting over overloaded operators.Daniel Jasper
2012-12-24Take operator precedence into account when splitting lines.Daniel Jasper
2012-12-23libFormat: Teach the *& usage heuristic that "return" starts a rhs too.Nico Weber
2012-12-21Adding to FormatTest.cpp test for a very long ObjC methodFariborz Jahanian
2012-12-21format: Handle #import as include directive too.Nico Weber
2012-12-21clang-format: No spaces around directory specifiersDaniel Jasper
2012-12-21Basic support for formatting for-loops.Daniel Jasper
2012-12-21Formatting fixes for PR14680Daniel Jasper