Skip to content
  1. Oct 05, 2013
    • Edwin Vane's avatar
      clang-modernize: Fix clang-apply-replacements invocation bug · 9e5b0da0
      Edwin Vane authored
      The command-line for clang-apply-replacements was being mangled due to an
      uninitialized variable. gasp! Now fixed.
      
      llvm-svn: 192033
      9e5b0da0
    • Edwin Vane's avatar
      clang-modernize: Apply replacements using clang-apply-replacements · c0f00b79
      Edwin Vane authored
      Summary:
      The clang-apply-replacements process is now invoked to apply
      replacements between applying transforms. This resulted in a massive
      simplification of the tool:
      - FileOverrides class no longer needed.
      - Change tracking and code formatting no longer needed.
      - No more dependency on libclangApplyReplacements.
      - Final syntax check is easier to do directly now than with a separate
        header/source pair.
      
      Replacement handling stuff abstracted into a new header/source pair to
      de-clutter ClangModernize.cpp somewhat.
      
      Tests updated.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1836
      
      llvm-svn: 192032
      c0f00b79
  2. Sep 12, 2013
  3. Sep 06, 2013
  4. Sep 04, 2013
    • Chandler Carruth's avatar
      Update the header guards for clang-modernize. · 35c03617
      Chandler Carruth authored
      llvm-svn: 189973
      35c03617
    • Chandler Carruth's avatar
      Fix up a few straggling bits of the build system. This should fix the · e160627d
      Chandler Carruth authored
      build of the clang-modernize unittest which is for some reason not being
      built by default on my system (sorry about that).
      
      llvm-svn: 189966
      e160627d
    • Chandler Carruth's avatar
      Rename cpp11-migrate to clang-modernize. · d9063c46
      Chandler Carruth authored
      There is no reason to expect this tool to be limited to C++11, it seems
      very likely to be of on-going interest. It seems likely to be useful for
      modernizing even as new libraries come out in TSes and other formats
      than a complete standard. Fundamentally, we need something a bit more
      general. After some discussion on the list, going with
      'clang-modernize'.
      
      I've tried to do a reasonably comprehensive job of fixing up the names,
      but I may still have missed some. Feel free to poke me if you spot any
      fallout here. Things I've tried reasonably hard to find and fix:
      
      - cpp11-migrate -> clang-modernize
      - Migrator -> Modernizer
      - Clean up the introductory documentation that was C++11 specific.
      
      I'll also point out that this tool continues to delight me. =] Also,
      a huge thanks to those who have so carefully, thoroughly documented the
      tool. The docs here are simply phenomenal. Every tool should be this
      well documented. I hope I have updated the documentation reasonably
      well, but I'm not very good at documentation, so review much
      appreciated.
      
      llvm-svn: 189960
      d9063c46
Loading