[PATCH] D40654: [clangd] Set completion options per-request.
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 30 08:06:08 PST 2017
ilya-biryukov created this revision.
Herald added a subscriber: klimek.
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.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40654
Files:
clangd/ClangdLSPServer.cpp
clangd/ClangdLSPServer.h
clangd/ClangdServer.cpp
clangd/ClangdServer.h
unittests/clangd/ClangdTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40654.124944.patch
Type: text/x-patch
Size: 16335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171130/4d360bd8/attachment-0001.bin>
More information about the cfe-commits
mailing list