[PATCH] D50502: [clangd] Initial cancellation mechanism for LSP requests.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 02:41:52 PDT 2018


kadircet updated this revision to Diff 160986.
kadircet added a comment.

- Made TaskHandle move-only. Since it is costly and most likely unnecessary to copy it other than to move it into Context.
- Provided an explicit clone method for copying.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50502

Files:
  clangd/CMakeLists.txt
  clangd/Cancellation.cpp
  clangd/Cancellation.h
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/ClangdServer.cpp
  clangd/ClangdServer.h
  clangd/JSONRPCDispatcher.cpp
  clangd/JSONRPCDispatcher.h
  clangd/Protocol.cpp
  clangd/Protocol.h
  clangd/ProtocolHandlers.cpp
  clangd/ProtocolHandlers.h
  unittests/clangd/CMakeLists.txt
  unittests/clangd/CancellationTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50502.160986.patch
Type: text/x-patch
Size: 22479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180816/689c7c25/attachment-0001.bin>


More information about the cfe-commits mailing list