diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-03-16 14:30:42 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-03-16 14:30:42 +0000 |
commit | 73d0e61849df642258421d89fea4b9e140871688 (patch) | |
tree | d804b1a6fd4ba8dc96a06f2dac601b39967784bd /clangd/CodeComplete.cpp | |
parent | 414ad1ebb317a66111ef521aadbfe97f6c1faf3b (diff) |
Move DraftMgr from ClangdServer to ClangdLSPServer
Summary:
This patch moves the draft manager closer to the edge of Clangd, from
ClangdServer to ClangdLSPServer. This will make it easier to implement
incremental document sync, by making ClangdServer only deal with
complete documents.
As a result, DraftStore doesn't have to deal with versioning, and thus
its API can be simplified. It is replaced by a StringMap in
ClangdServer holding a current version number for each file.
Signed-off-by: Simon Marchi <simon.marchi@ericsson.com>
Subscribers: klimek, mgorny, ilya-biryukov, jkorous-apple, ioeric, cfe-commits
Differential Revision: https://reviews.llvm.org/D44408
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@327711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clangd/CodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions