[clangd] Customizable URI schemes for dynamic index.
authorEric Liu <ioeric@google.com>
Fri, 15 Jun 2018 08:55:00 +0000 (08:55 +0000)
committerEric Liu <ioeric@google.com>
Fri, 15 Jun 2018 08:55:00 +0000 (08:55 +0000)
commit13e503f68a0ec42807c46aa76540b3eb06450b9d
treea4ad95a19d776794ffa1226b0ffc76fe70548b1f
parent0651eb1b31ce0ab3e2dd88947f38de7e3ebc8bc9
[clangd] Customizable URI schemes for dynamic index.

Summary:
This allows dynamic index to have consistent URI schemes with the
static index which can have customized URI schemes, which would make file
proximity scoring based on URIs easier.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits

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

llvm-svn: 334809
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/index/FileIndex.cpp
clang-tools-extra/clangd/index/FileIndex.h
clang-tools-extra/unittests/clangd/ClangdTests.cpp
clang-tools-extra/unittests/clangd/FileIndexTests.cpp
clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
clang-tools-extra/unittests/clangd/TestFS.cpp
clang-tools-extra/unittests/clangd/TestFS.h
clang-tools-extra/unittests/clangd/URITests.cpp