Rename instance variable to WorkspaceRoot to match what we call it internally.
Add fixme to set it automatically. Don't do it yet, clients have assumptions
that the constructor won't access the FS.
Paths
| Differential D53404
[clangd] Set workspace root when initializing ClangdServer, disallow mutation. ClosedPublic Authored by sammccall on Oct 18 2018, 8:43 AM.
Details Summary Rename instance variable to WorkspaceRoot to match what we call it internally. Add fixme to set it automatically. Don't do it yet, clients have assumptions
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, kadircet, arphaman and 3 others. · View Herald TranscriptOct 18 2018, 8:43 AM This revision is now accepted and ready to land.Oct 19 2018, 1:44 AM Closed by commit rCTE344787: [clangd] Set workspace root when initializing ClangdServer, disallow mutation. (authored by sammccall). · Explain WhyOct 19 2018, 8:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 170098 clangd/ClangdLSPServer.cpp
clangd/ClangdServer.h
clangd/ClangdServer.cpp
unittests/clangd/FindSymbolsTests.cpp
|