Skip to content
Snippets Groups Projects
  1. Dec 20, 2012
  2. Dec 19, 2012
  3. Dec 18, 2012
    • Daniel Jasper's avatar
      Better support for constructor initializers. · 1321eb59
      Daniel Jasper authored
      We used to format initializers like this (with a sort of hacky implementation):
      Constructor()
          : Val1(A),
            Val2(B) {
      
      and now format like this (with a somewhat better solution):
      Constructor()
          : Val1(A), Val2(B) {
      
      assuming this would not fit on a single line. Also added tests.
      
      As a side effect we now first analyze whether an UnwrappedLine needs to be
      split at all. If not, not splitting it is the best solution by definition. As
      this should be a very common case in normal code, not exploring the entire
      solution space can provide significant speedup.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170457 91177308-0d34-0410-b5e6-96231b3b80d8
      1321eb59
    • Daniel Jasper's avatar
      Make the format scrambler understand line comments. · e35ec2b1
      Daniel Jasper authored
      This allows for writing tests including line comments easier and more readable.
      We will need more of those tests in the future and also line comments are
      useful to force line breaks in tests.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170446 91177308-0d34-0410-b5e6-96231b3b80d8
      e35ec2b1
  4. Dec 17, 2012
  5. Dec 13, 2012
  6. Dec 11, 2012
  7. Dec 10, 2012
  8. Dec 07, 2012
  9. Dec 06, 2012
  10. Dec 05, 2012
  11. Dec 04, 2012
Loading