Remove possibility to change compile database path at runtime
authorSimon Marchi <simon.marchi@ericsson.com>
Tue, 16 Oct 2018 15:55:03 +0000 (15:55 +0000)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 16 Oct 2018 15:55:03 +0000 (15:55 +0000)
commitabeed660562dc03fe3e9514513d8e5609735d079
tree95a00b3cd463c04cdb39fdac7aa6da4499510fb9
parent6f732bfb7900be621bf43002105ec05da62e679a
Remove possibility to change compile database path at runtime

Summary:
This patch removes the possibility to change the compilation database
path at runtime using the didChangeConfiguration request.  Instead, it
is suggested to use the setting on the initialize request, and clangd
whenever the user wants to use a different build configuration.

Subscribers: ilya-biryukov, ioeric, jkorous, arphaman, kadircet, cfe-commits

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

llvm-svn: 344614
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/test/clangd/compile-commands-path-in-initialize.test
clang-tools-extra/test/clangd/compile-commands-path.test [deleted file]