]> granicus.if.org Git - clang/commit
Recommit r315738 "[clang-refactor] Apply source replacements"
authorAlex Lorenz <arphaman@gmail.com>
Mon, 16 Oct 2017 17:31:16 +0000 (17:31 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 16 Oct 2017 17:31:16 +0000 (17:31 +0000)
commit04999db339a83624f843fdc5d67d25b5f7170b49
treed33b30eea2ea68843d28d7b07604607f446b7b19
parentf725de83140f86fe707bb45e0111d5582fb46696
Recommit r315738 "[clang-refactor] Apply source replacements"

The fixed commit ensures that ParsedSourceRange works correctly
with Windows paths.

Original message:

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315918 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/CommandLineSourceLoc.h
test/Refactor/tool-apply-replacements.cpp [new file with mode: 0644]
test/Refactor/tool-selection-option.c [new file with mode: 0644]
tools/clang-refactor/ClangRefactor.cpp
unittests/Frontend/CMakeLists.txt
unittests/Frontend/ParsedSourceLocationTest.cpp [new file with mode: 0644]