aboutsummaryrefslogtreecommitdiff
path: root/clangd/CodeComplete.cpp
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-03-16 14:30:42 +0000
committerSimon Marchi <simon.marchi@ericsson.com>2018-03-16 14:30:42 +0000
commit73d0e61849df642258421d89fea4b9e140871688 (patch)
treed804b1a6fd4ba8dc96a06f2dac601b39967784bd /clangd/CodeComplete.cpp
parent414ad1ebb317a66111ef521aadbfe97f6c1faf3b (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