]> granicus.if.org Git - clang/commit
Fixed replacements for files with relative paths are not applied.
authorAriel J. Bernal <ariel.j.bernal@intel.com>
Tue, 1 Oct 2013 14:59:00 +0000 (14:59 +0000)
committerAriel J. Bernal <ariel.j.bernal@intel.com>
Tue, 1 Oct 2013 14:59:00 +0000 (14:59 +0000)
commitd11344a728c7ffab17e5557506edfbcbae18d34e
tree1f8f1e0d59cfee093ddba5d8eec9d05db4001606
parente5321c400c76517f10ee6090556f6d87c150b826
Fixed replacements for files with relative paths are not applied.

Replacements were no applied when using a compilation database with paths in the
compilation command relative to the compile directory. This patch makes those
paths abosulte.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191776 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/Refactoring.cpp
test/Tooling/clang-check-rel-path.cpp [new file with mode: 0644]