Skip to content
Snippets Groups Projects
  1. Mar 21, 2016
  2. Mar 17, 2016
  3. Mar 14, 2016
    • Daniel Jasper's avatar
      clang-format: [JS] Handle certain cases of ASI. · e14f44c2
      Daniel Jasper authored
      Automatic Semicolon Insertion can only be properly handled by parsing
      source code. However conservatively catching just a few, common
      situations prevents breaking code during development, which greatly
      improves usability.
      
      JS code should still use semicolons, and ASI code should be flagged by
      a compiler or linter.
      
      Patch by Martin Probst. Thank you.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263470 91177308-0d34-0410-b5e6-96231b3b80d8
      e14f44c2
  4. Mar 05, 2016
  5. Mar 03, 2016
  6. Mar 02, 2016
  7. Mar 01, 2016
  8. Feb 29, 2016
  9. Feb 22, 2016
  10. Feb 18, 2016
  11. Feb 11, 2016
  12. Feb 08, 2016
  13. Feb 07, 2016
  14. Feb 05, 2016
  15. Feb 03, 2016
  16. Feb 02, 2016
  17. Feb 01, 2016
  18. Jan 27, 2016
  19. Jan 26, 2016
  20. Jan 19, 2016
  21. Jan 14, 2016
  22. Jan 13, 2016
    • Daniel Jasper's avatar
      clang-format: [ObjC+JS] Allow bin-packing of array literals. · d04e5caf
      Daniel Jasper authored
      After reading the style guides again, they don't actually say how to
      pack or not pack array literals. Based on some user reports, array
      initializers can unnecessarily get quite long if they contain many
      small elements. Array literals with trailing commas are still formatted
      one per line so that users have a way to opt out of the packing.
      
      Before:
        var array = [
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa,
          aaaaaa
        ];
      
      After:
        var array = [
          aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa,
          aaaaaa, aaaaaa
        ];
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257615 91177308-0d34-0410-b5e6-96231b3b80d8
      d04e5caf
  23. Jan 12, 2016
  24. Jan 11, 2016
Loading