The only way to actually set the directory is at initialize time,
so now CDB is lazy we can pass it to the constructor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D53572
[clangd] Lazily create CDB, remove setCompileCommandsDir. ClosedPublic Authored by sammccall on Oct 23 2018, 7:13 AM.
Details Summary The only way to actually set the directory is at initialize time,
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, kadircet, arphaman and 4 others. · View Herald TranscriptOct 23 2018, 7:13 AM This revision is now accepted and ready to land.Oct 23 2018, 7:21 AM Closed by commit rL345031: [clangd] Lazily create CDB, remove setCompileCommandsDir. (authored by sammccall). · Explain WhyOct 23 2018, 7:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 170638 clang-tools-extra/trunk/clangd/ClangdLSPServer.h
clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp
|