Revert r366458, r366467 and r366468
authorAzharuddin Mohammed <azhar@apple.com>
Fri, 19 Jul 2019 09:26:33 +0000 (09:26 +0000)
committerAzharuddin Mohammed <azhar@apple.com>
Fri, 19 Jul 2019 09:26:33 +0000 (09:26 +0000)
commit9c377105da0be7c2c9a3c70035ce674c71b846af
tree282e3adfe84b4d7cc1ab24d467b2baefa149c2fc
parente9e59ad79ffdbb319db43144b68265170ee41c49
Revert r366458, r366467 and r366468

r366458 is causing test failures. r366467 and r366468 had to be reverted as
they were casuing conflict while reverting r366458.

r366468 [clangd] Remove dead code from BackgroundIndex
r366467 [clangd] BackgroundIndex stores shards to the closest project
r366458 [clangd] Refactor background-index shard loading

llvm-svn: 366551
15 files changed:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/index/Background.cpp
clang-tools-extra/clangd/index/Background.h
clang-tools-extra/clangd/index/BackgroundIndexLoader.cpp [deleted file]
clang-tools-extra/clangd/index/BackgroundIndexLoader.h [deleted file]
clang-tools-extra/clangd/index/BackgroundIndexStorage.cpp
clang-tools-extra/clangd/index/BackgroundRebuild.cpp
clang-tools-extra/clangd/index/BackgroundRebuild.h
clang-tools-extra/clangd/test/Inputs/background-index/definition.jsonrpc
clang-tools-extra/clangd/test/Inputs/background-index/foo.cpp
clang-tools-extra/clangd/test/Inputs/background-index/foo.h [moved from clang-tools-extra/clangd/test/Inputs/background-index/sub_dir/foo.h with 100% similarity]
clang-tools-extra/clangd/test/Inputs/background-index/sub_dir/compile_flags.txt [deleted file]
clang-tools-extra/clangd/test/background-index.test
clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp