[clangd] Fix incorrect file path for symbols defined by the compile command-line...
authorHaojian Wu <hokein@google.com>
Tue, 6 Feb 2018 09:50:35 +0000 (09:50 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 6 Feb 2018 09:50:35 +0000 (09:50 +0000)
commit3b8e00c5e0bdb5e2547f8f16061798a484427880
tree6cf5b4ed420e9c43a8de2836091354a2c071aeca
parent6df8f43c4dd0d2089035d2713db717b6415f8ae4
[clangd] Fix incorrect file path for symbols defined by the compile command-line option.

Summary:

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: klimek, ilya-biryukov, jkorous-apple, cfe-commits

Differential Revision: https://reviews.llvm.org/D42913

llvm-svn: 324328
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp