Skip to content
  1. May 21, 2013
    • Daniel Jasper's avatar
      Let clang-format move the cursor appropriately. · 2a250b8b
      Daniel Jasper authored
      With this patch, clang-format will try to keep the cursor at the
      original code position in editor integrations (implemented for emacs and
      vim). This means, after formatting, clang-format will try to keep the
      cursor on the same character of the same token.
      
      llvm-svn: 182373
      2a250b8b
  2. May 19, 2013
  3. May 16, 2013
  4. May 14, 2013
    • Daniel Jasper's avatar
      Update clang-format emacs integration. · 6e3506f2
      Daniel Jasper authored
      - Remove free variables
      - Add function clang-format-buffer, e.g. for before-save-hooks
      - Wrap restoring windows in an unwind-protect
      
      Patch by Stephen Gildea!
      
      llvm-svn: 181766
      6e3506f2
  5. May 10, 2013
  6. May 07, 2013
  7. May 06, 2013
  8. May 02, 2013
  9. Apr 25, 2013
  10. Apr 24, 2013
    • Alexander Kornienko's avatar
      clang-format support for multiple input files. · 3fbee010
      Alexander Kornienko authored
      Summary:
      Added support for multiple input files, that can be used both with and
      without in-place edit (-i) option. Added checks for -offset and -length options:
      don't allow them on multiple files, check that they don't fall outside input
      file, made both options unsigned, so that there's no need to check for negative
      values. Removed "-1 can be used for end-of-file" from -length description.
      
      Reviewers: djasper, klimek
      
      Reviewed By: djasper
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D719
      
      llvm-svn: 180185
      3fbee010
  11. Apr 17, 2013
  12. Apr 12, 2013
  13. Apr 09, 2013
    • Daniel Jasper's avatar
      Improvements to clang-format integrations. · e4549a23
      Daniel Jasper authored
      This adds an emacs editor integration (thanks to Ami Fischman). Also
      pulls out the style into a variable for the vi integration and just
      uses clang-formats defaults style in clang-format-diff.py.
      
      llvm-svn: 179098
      e4549a23
  14. Apr 08, 2013
  15. Mar 20, 2013
Loading