Skip to content
Snippets Groups Projects
  1. Jan 02, 2013
  2. Dec 24, 2012
  3. Dec 23, 2012
  4. Dec 21, 2012
  5. Dec 20, 2012
  6. 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
  7. Dec 17, 2012
  8. Dec 10, 2012
  9. Dec 07, 2012
  10. Dec 06, 2012
  11. Dec 05, 2012
  12. Dec 04, 2012
Loading