Page MenuHomePhabricator

[clangd] Use Contents from inputs in codeComplete and signatureHelp

Authored by simark on Mar 14 2018, 11:09 AM.



ClangdServer::{codeComplete,signatureHelp} both use the Contents from
the draft manager. Since we want to move the draft manager from
ClangdServer to ClangdLSPServer, this patch changes those methods to
find the file contents from InputsAndPreamble, which contains the source
passed in previously.

Diff Detail

Event Timeline

simark created this revision.Mar 14 2018, 11:09 AM
ilya-biryukov accepted this revision.Mar 14 2018, 11:21 AM
This revision is now accepted and ready to land.Mar 14 2018, 11:21 AM
This revision was automatically updated to reflect the committed changes.