aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
AgeCommit message (Expand)Author
2013-01-18Let the formatter align trailing line comments where possible.Daniel Jasper
2013-01-18Formatter: After case blocks, "break" goes on the same line as the "}", PR14907.Nico Weber
2013-01-18Formatter: The contents of @selector() should be formatted as a selector.Nico Weber
2013-01-17Formatter: Get bit tests in ifs right.Nico Weber
2013-01-17Allow breaking after the trailing const after a function declaration.Daniel Jasper
2013-01-17Improve handling of comments in static initializers.Daniel Jasper
2013-01-17Revert most of r172140.Nico Weber
2013-01-16Fix a bug where we would move a following line into a comment.Daniel Jasper
2013-01-16Fix parsing error in conditional expressions.Daniel Jasper
2013-01-16Improve understanding of unary operators.Daniel Jasper
2013-01-16Disable inlining of short ifs in Google style.Daniel Jasper
2013-01-16Add option to avoid "bin-packing" of parameters.Daniel Jasper
2013-01-16Add debugging support for split penalties.Manuel Klimek
2013-01-16Calculate the total length of a line up to each token up front.Daniel Jasper
2013-01-16Change the datastructure for UnwrappedLines.Daniel Jasper
2013-01-16Never merge < and ::, as it produces different tokens.Daniel Jasper
2013-01-16Remove errors were if statements were incorrectly put on a single line.Daniel Jasper
2013-01-15Do not traverse the break-state when we know we cannot break anyway.Manuel Klimek
2013-01-15Fix formatting of preprocessor directives (incluces, warnings & errors).Manuel Klimek
2013-01-15Improve operator kind detection in presence of comments.Daniel Jasper
2013-01-14Fixes formatting of nested brace initializers.Manuel Klimek
2013-01-14Make single-line if statements optional.Daniel Jasper
2013-01-14Fix a bug in the line merging.Daniel Jasper
2013-01-14Fix bug that would lead to joining preprocessor directives.Daniel Jasper
2013-01-14Put simple preprocessor directives on a single line.Daniel Jasper
2013-01-14Put short if statements on a single line.Daniel Jasper
2013-01-14Refactor datastructure used in clang-format.Daniel Jasper
2013-01-14Improve understanding post increment and decrement.Daniel Jasper
2013-01-14Custom DiagnosticConsumer parameter of reformat() + silence diagnostics in un...Alexander Kornienko
2013-01-13Stronger respect the input codes line breaks wrt. comments.Daniel Jasper
2013-01-13Always put a space after ",".Daniel Jasper
2013-01-13Don't put spaces around hyphens in include paths.Daniel Jasper
2013-01-13Improve identification of c-style casts.Daniel Jasper
2013-01-12Formatter: Don't insert a space before unary operators after selector names.Nico Weber
2013-01-12Formatter: Remove debugging junk I accidentally landed in r172333.Nico Weber
2013-01-12Formatter: Prefer breaking before ObjC selector names over breaking at their ':'Nico Weber
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko
2013-01-12Remove unused private field.Rafael Espindola
2013-01-12Fix incorrect comparison operator causing loooong formatting times.Daniel Jasper
2013-01-12Formatter: Remove an always-false condition.Nico Weber
2013-01-12Formatter: Remove a redundant CurrentLineType check.Nico Weber
2013-01-12Formatter: Initial support for formatting Objective-C method expressions. ...Nico Weber
2013-01-12Formatter: * and & are binary operators before ( and [.Nico Weber
2013-01-12Formatter: * and & are binary operators after ) and ].Nico Weber
2013-01-12Formatter: + and - after { are unary operators.Nico Weber
2013-01-11Formatter: Format ObjC static and instance methods consistently, add a test f...Nico Weber
2013-01-11Fix single-line optimization for ObjC.Manuel Klimek
2013-01-11Implements pulling simple blocks into a single line.Manuel Klimek
2013-01-11Correct spacing around new and delete.Daniel Jasper
2013-01-11Improve handling of trailing declaration annotations.Daniel Jasper