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)
commitee863cedc29d45c1976fcd3b9f0a5bce34097238
tree24853d1ffbc074b5acc1b4964fb9c29eba666c1f
parentcaa435664aa4825b90579102b24a79339a57b5d4
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.

llvm-svn: 192299
clang/lib/Tooling/Refactoring.cpp
clang/unittests/Tooling/RefactoringTest.cpp