Skip to content
Snippets Groups Projects
  1. Feb 08, 2017
  2. Dec 12, 2016
    • Daniel Jasper's avatar
      clang-format: Separate out a language kind for ObjC. · f57fa8e1
      Daniel Jasper authored
      While C(++) and ObjC are generally formatted the same way and can be
      mixed, people might want to choose different styles based on the
      language. This patch recognizes .m and .mm files as ObjC and also
      implements a very crude detection of whether or not a .h file contains
      ObjC code. This can be improved over time.
      
      Also move most of the ObjC tests into their own test file to keep file
      size maintainable.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289428 91177308-0d34-0410-b5e6-96231b3b80d8
      f57fa8e1
  3. May 20, 2016
    • Martin Probst's avatar
      clang-format: [JS] sort ES6 imports. · 3e258a6c
      Martin Probst authored
      Summary:
      This change automatically sorts ES6 imports and exports into four groups:
      absolute imports, parent imports, relative imports, and then exports. Exports
      are sorted in the same order, but not grouped further.
      
      To keep JS import sorting out of Format.cpp, this required extracting the
      TokenAnalyzer infrastructure to separate header and implementation files.
      
      Reviewers: djasper
      
      Subscribers: cfe-commits, klimek
      
      Differential Revision: http://reviews.llvm.org/D20198
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270203 91177308-0d34-0410-b5e6-96231b3b80d8
      3e258a6c
  4. Apr 25, 2016
  5. Mar 01, 2016
  6. Sep 23, 2015
  7. Jun 15, 2015
  8. Oct 29, 2014
  9. Sep 15, 2014
  10. Jan 19, 2014
  11. Dec 10, 2013
  12. Dec 03, 2013
  13. Jan 19, 2013
  14. Dec 03, 2012
Loading