summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fixes issues around pulling in the next line in simple if statements.Manuel Klimek2013-01-181-0/+4
* Reduce penalty for splitting between ")" and ".".Daniel Jasper2013-01-181-5/+9
* Also align trailing line comments in include directives.Daniel Jasper2013-01-181-8/+12
* Let the formatter align trailing line comments where possible.Daniel Jasper2013-01-181-49/+129
* Formatter: After case blocks, "break" goes on the same line as the "}", PR14907.Nico Weber2013-01-181-2/+2
* Formatter: The contents of @selector() should be formatted as a selector.Nico Weber2013-01-181-10/+43
* Formatter: Get bit tests in ifs right.Nico Weber2013-01-171-1/+24
* Allow breaking after the trailing const after a function declaration.Daniel Jasper2013-01-171-0/+7
* Improve handling of comments in static initializers.Daniel Jasper2013-01-171-4/+13
* Revert most of r172140.Nico Weber2013-01-171-12/+1
* Fix a bug where we would move a following line into a comment.Daniel Jasper2013-01-161-1/+1
* Fix parsing error in conditional expressions.Daniel Jasper2013-01-161-4/+3
* Improve understanding of unary operators.Daniel Jasper2013-01-161-1/+1
* Disable inlining of short ifs in Google style.Daniel Jasper2013-01-161-1/+1
* Add option to avoid "bin-packing" of parameters.Daniel Jasper2013-01-161-8/+60
* Add debugging support for split penalties.Manuel Klimek2013-01-161-1/+41
* Calculate the total length of a line up to each token up front.Daniel Jasper2013-01-161-57/+33
* Change the datastructure for UnwrappedLines.Daniel Jasper2013-01-161-18/+25
* Never merge < and ::, as it produces different tokens.Daniel Jasper2013-01-161-4/+4
* Remove errors were if statements were incorrectly put on a single line.Daniel Jasper2013-01-161-0/+7
* Do not traverse the break-state when we know we cannot break anyway.Manuel Klimek2013-01-151-5/+6
* Fix formatting of preprocessor directives (incluces, warnings & errors).Manuel Klimek2013-01-151-6/+30
* Improve operator kind detection in presence of comments.Daniel Jasper2013-01-151-28/+56
* Fixes formatting of nested brace initializers.Manuel Klimek2013-01-141-7/+18
* Make single-line if statements optional.Daniel Jasper2013-01-141-0/+10
* Fix a bug in the line merging.Daniel Jasper2013-01-141-0/+2
* Fix bug that would lead to joining preprocessor directives.Daniel Jasper2013-01-141-1/+2
* Put simple preprocessor directives on a single line.Daniel Jasper2013-01-141-0/+16
* Put short if statements on a single line.Daniel Jasper2013-01-141-30/+57
* Refactor datastructure used in clang-format.Daniel Jasper2013-01-141-123/+138
* Improve understanding post increment and decrement.Daniel Jasper2013-01-141-1/+4
* Custom DiagnosticConsumer parameter of reformat() + silence diagnostics in un...Alexander Kornienko2013-01-141-6/+11
* Stronger respect the input codes line breaks wrt. comments.Daniel Jasper2013-01-131-4/+10
* Always put a space after ",".Daniel Jasper2013-01-131-0/+2
* Don't put spaces around hyphens in include paths.Daniel Jasper2013-01-131-10/+6
* Improve identification of c-style casts.Daniel Jasper2013-01-131-1/+5
* Formatter: Don't insert a space before unary operators after selector names.Nico Weber2013-01-121-2/+3
* Formatter: Remove debugging junk I accidentally landed in r172333.Nico Weber2013-01-121-1/+1
* Formatter: Prefer breaking before ObjC selector names over breaking at their ':'Nico Weber2013-01-121-1/+20
* Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko2013-01-121-4/+4
* Remove unused private field.Rafael Espindola2013-01-121-7/+3
* Fix incorrect comparison operator causing loooong formatting times.Daniel Jasper2013-01-121-1/+3
* Formatter: Remove an always-false condition.Nico Weber2013-01-121-2/+1
* Formatter: Remove a redundant CurrentLineType check.Nico Weber2013-01-121-2/+2
* Formatter: Initial support for formatting Objective-C method expressions. ...Nico Weber2013-01-121-6/+48
* Formatter: * and & are binary operators before ( and [.Nico Weber2013-01-121-0/+1
* Formatter: * and & are binary operators after ) and ].Nico Weber2013-01-121-1/+2
* Formatter: + and - after { are unary operators.Nico Weber2013-01-121-1/+1
* Formatter: Format ObjC static and instance methods consistently, add a test f...Nico Weber2013-01-111-2/+3
* Fix single-line optimization for ObjC.Manuel Klimek2013-01-111-4/+6
OpenPOWER on IntegriCloud