This is an archive of the discontinued LLVM Phabricator instance.

[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
that the constructor won't access the FS.

Diff Detail

Event Timeline

sammccall created this revision.Oct 18 2018, 8:43 AM
ioeric accepted this revision.Oct 19 2018, 1:44 AM
This revision is now accepted and ready to land.Oct 19 2018, 1:44 AM
This revision was automatically updated to reflect the committed changes.