]> granicus.if.org Git - clang/commit
This patch fixes replacements that are not applied when relative paths are
authorAriel J. Bernal <ariel.j.bernal@intel.com>
Wed, 9 Oct 2013 16:09:23 +0000 (16:09 +0000)
committerAriel J. Bernal <ariel.j.bernal@intel.com>
Wed, 9 Oct 2013 16:09:23 +0000 (16:09 +0000)
commitb71aa7af7f4f9140c7bbcccca30aeecc671d767f
treebaa06084e98079e7504f0db1be806a752a22c2b0
parent6e7f1934f489b48a53b8c9af314921c0e55ee5b5
This patch fixes replacements that are not applied when relative paths are
specified.

In particular it makes sure that relative paths for non-virtual files aren't
made absolute.
Added unittest test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/Refactoring.cpp
unittests/Tooling/RefactoringTest.cpp