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
Loading