[PATCH] D77947: [clangd] Send the correct error code when cancelling requests.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 09:35:51 PDT 2020
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, usaxena95, jfb, arphaman, jkorous, MaskRay, javed.absar, ilya-biryukov.
Herald added a project: clang.
I couldn't quite bring myself to make Cancellation depend on LSP ErrorCode.
Magic numbers instead...
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77947
Files:
clang-tools-extra/clangd/Cancellation.cpp
clang-tools-extra/clangd/Cancellation.h
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/JSONTransport.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/unittests/CancellationTests.cpp
clang-tools-extra/clangd/unittests/JSONTransportTests.cpp
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77947.256777.patch
Type: text/x-patch
Size: 11393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200411/c40f88d5/attachment-0001.bin>
More information about the cfe-commits
mailing list