Skip to content
Snippets Groups Projects
  1. Oct 06, 2015
  2. Oct 05, 2015
  3. Sep 29, 2015
    • Daniel Jasper's avatar
      clang-format: Add a new brace style "custom" as well as flags to · 6cc91d4e
      Daniel Jasper authored
      control the individual braces. The existing choices for brace wrapping
      are now merely presets for the different flags that get expanded upon
      calling the reformat function.
      
      All presets have been chose to keep the existing formatting, so there
      shouldn't be any difference in formatting behavior.
      
      Also change the dump_format_style.py to properly document the nested
      structs that are used to keep these flags discoverable among all the
      configuration flags.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248802 91177308-0d34-0410-b5e6-96231b3b80d8
      6cc91d4e
  4. Sep 17, 2015
  5. Sep 11, 2015
  6. Sep 10, 2015
  7. Sep 02, 2015
  8. Sep 01, 2015
  9. Aug 28, 2015
  10. Aug 27, 2015
  11. Aug 24, 2015
  12. Aug 18, 2015
  13. Aug 14, 2015
  14. Aug 12, 2015
  15. Aug 11, 2015
  16. Aug 10, 2015
    • Nick Lewycky's avatar
      Fix typo. · 1525c826
      Nick Lewycky authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244490 91177308-0d34-0410-b5e6-96231b3b80d8
      1525c826
    • Mark Heffernan's avatar
      Add new llvm.loop.unroll.enable metadata for use with "#pragma unroll". · 1476822d
      Mark Heffernan authored
      This change adds the new unroll metadata "llvm.loop.unroll.enable" which directs
      the optimizer to unroll a loop fully if the trip count is known at compile time, and
      unroll partially if the trip count is not known at compile time. This differs from
      "llvm.loop.unroll.full" which explicitly does not unroll a loop if the trip count is not
      known at compile time
      
      With this change "#pragma unroll" generates "llvm.loop.unroll.enable" rather than
      "llvm.loop.unroll.full" metadata. This changes the semantics of "#pragma unroll" slightly
      to mean "unroll aggressively (fully or partially)" rather than "unroll fully or not at all".
      
      The motivating example for this change was some internal code with a loop marked
      with "#pragma unroll" which only sometimes had a compile-time trip count depending
      on template magic. When the trip count was a compile-time constant, everything works
      as expected and the loop is fully unrolled. However, when the trip count was not a
      compile-time constant the "#pragma unroll" explicitly disabled unrolling of the loop(!).
      Removing "#pragma unroll" caused the loop to be unrolled partially which was desirable
      from a performance perspective.
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244467 91177308-0d34-0410-b5e6-96231b3b80d8
      1476822d
    • Roman Kashitsyn's avatar
      Add WebKit brace style configuration option. · 8aef53c9
      Roman Kashitsyn authored
      Summary:
      Add brace style `BS_WebKit` as described on https://www.webkit.org/coding/coding-style.html:
      
      * Function definitions: place each brace on its own line.
      * Other braces: place the open brace on the line preceding the code block; place the close brace on its own line.
      
      Set brace style used in `getWebKitStyle()` to the newly added `BS_WebKit`.
      
      Reviewers: djasper, klimek
      
      Subscribers: klimek, cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D11837
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244446 91177308-0d34-0410-b5e6-96231b3b80d8
      8aef53c9
  17. Aug 05, 2015
  18. Aug 03, 2015
  19. Jul 31, 2015
Loading