This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Set completion options per-request.
ClosedPublic

Authored by ilya-biryukov on Nov 30 2017, 8:06 AM.

Details

Summary

Previously, completion options were set per ClangdServer instance.
It will allow to change completion preferences during the lifetime
of a single ClangdServer instance.

Also rewrote ClangdCompletionTest.CompletionOptions to reuse single
ClangdServer instance, the test now runs 2x faster on my machine.

Diff Detail

Repository
rL LLVM

Event Timeline

ilya-biryukov created this revision.Nov 30 2017, 8:06 AM
ioeric accepted this revision.Nov 30 2017, 8:16 AM

lgtm

This revision is now accepted and ready to land.Nov 30 2017, 8:16 AM
This revision was automatically updated to reflect the committed changes.