[PATCH] D83817: [clangd] Add option to use remote index as static index
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 01:48:08 PDT 2020
hokein added a comment.
mostly good, just a concern about the linking dependence.
================
Comment at: clang-tools-extra/clangd/CMakeLists.txt:143
clangToolingSyntax
+ clangdRemoteIndex
)
----------------
the dependence here seems to be a layer violation. we add remote-index library when linking the clangDaemon, but `clangdRemoteIndex` *depends* on `clangDaemon`
I think we should do this when linking the clangd binary (in `clangd/tool/CMakeLists.txt`).
================
Comment at: clang-tools-extra/clangd/tool/ClangdMain.cpp:462
+opt<std::string> ProjectRoot{
+ "project-path",
+ cat(Features),
----------------
nit: project-path -> project-root.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83817/new/
https://reviews.llvm.org/D83817
More information about the cfe-commits
mailing list