[PATCH] D38939: [clangd] Handle exit notification (proper shutdown)

Raoul Wols via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 12:54:15 PDT 2017


rwols updated this revision to Diff 119198.
rwols added a comment.

Return 0 if shutdown was received before exit, otherwise return 1

The protocol.test test fails now.


https://reviews.llvm.org/D38939

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/Protocol.h
  clangd/ProtocolHandlers.cpp
  clangd/ProtocolHandlers.h
  clangd/tool/ClangdMain.cpp
  test/clangd/authority-less-uri.test
  test/clangd/completion-priorities.test
  test/clangd/completion-qualifiers.test
  test/clangd/completion-snippet.test
  test/clangd/completion.test
  test/clangd/definitions.test
  test/clangd/diagnostics-preamble.test
  test/clangd/diagnostics.test
  test/clangd/did-change-watch-files.test
  test/clangd/extra-flags.test
  test/clangd/fixits.test
  test/clangd/formatting.test
  test/clangd/initialize-params-invalid.test
  test/clangd/initialize-params.test
  test/clangd/input-mirror.test
  test/clangd/signature-help.test
  test/clangd/unsupported-method.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38939.119198.patch
Type: text/x-patch
Size: 11164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171016/3b1263a4/attachment.bin>


More information about the cfe-commits mailing list