[PATCH] clang-apply-replacements: Add code-formatting post processing step

Edwin Vane edwin.vane at intel.com
Thu Sep 26 12:06:59 PDT 2013


    - Addressed reviewer comments. As a note to @djasper, we can't just reuse
  applyReplacements() within applyFormatting() since we need access to the SourceManager
  to override the file contents.

Hi tareqsiraj, arielbernal, Sarcasm, klimek, djasper,

http://llvm-reviews.chandlerc.com/D1730

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1730?vs=4491&id=4493#toc

Files:
  clang-apply-replacements/CMakeLists.txt
  clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h
  clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
  clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
  test/clang-apply-replacements/Inputs/format/no.cpp
  test/clang-apply-replacements/Inputs/format/no.yaml
  test/clang-apply-replacements/Inputs/format/yes.cpp
  test/clang-apply-replacements/Inputs/format/yes.yaml
  test/clang-apply-replacements/format.cpp
  unittests/CMakeLists.txt
  unittests/Makefile
  unittests/clang-apply-replacements/CMakeLists.txt
  unittests/clang-apply-replacements/Makefile
  unittests/clang-modernize/Makefile
  unittests/clang-apply-replacements/ReformattingTest.cpp
  unittests/clang-modernize/CMakeLists.txt
  unittests/clang-modernize/FileOverridesTest.cpp
  unittests/clang-modernize/IncludeDirectivesTest.cpp
  unittests/clang-modernize/IncludeExcludeTest.cpp
  unittests/include/common/Utility.h
  unittests/clang-modernize/Utility.h
  unittests/include/common/VirtualFileHelper.h
  unittests/clang-modernize/VirtualFileHelper.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1730.6.patch
Type: text/x-patch
Size: 32971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130926/847abe73/attachment.bin>


More information about the cfe-commits mailing list