[clang-refactor] Apply source replacements
authorAlex Lorenz <arphaman@gmail.com>
Fri, 13 Oct 2017 19:42:05 +0000 (19:42 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 13 Oct 2017 19:42:05 +0000 (19:42 +0000)
commit57e060b30985644732228596e9c1b143519370e2
tree2655ba9b700b236fb0a06f653dd6eda4aec2f891
parentac40140e243ad5d871c88edc1e37e9920d7f3eac
[clang-refactor] Apply source replacements

This commit actually brings clang-refactor to a usable state as it can now
apply the refactoring changes to source files.
The -selection option is now also fully supported.

Differential Revision: https://reviews.llvm.org/D38402

llvm-svn: 315738
clang/include/clang/Frontend/CommandLineSourceLoc.h
clang/test/Refactor/tool-apply-replacements.cpp [new file with mode: 0644]
clang/test/Refactor/tool-selection-option.c [new file with mode: 0644]
clang/tools/clang-refactor/ClangRefactor.cpp