]> granicus.if.org Git - clang/commit
[analyzer] scan-view: don't ever serve absolute paths.
authorJordan Rose <jordan_rose@apple.com>
Mon, 29 Apr 2013 17:23:06 +0000 (17:23 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 29 Apr 2013 17:23:06 +0000 (17:23 +0000)
commit1d75a3b8efb1b4233b3f431604efcd60da8623e4
treee0b640c5208a0dca8379f471c84526dfdebd2076
parent7e6b564d59df6c0594bc3a577f33536850290dec
[analyzer] scan-view: don't ever serve absolute paths.

At one point in time scan-view allowed absolute paths to reference files
within the server root, but this doesn't seem to be used anymore, and
caused problems if a server-root-relative path actually matched an
absolute path to an existing file. This patch just treats paths as
server-root-relative all the time.

PR15843

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180715 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-view/ScanView.py