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

Raoul Wols via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 12:29:25 PDT 2017


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

- Add test shutdown-with-exit.test
- Add test shutdown-without-exit.test
- Make protocol.test pass by inverting exit code ("# RUN: not ...")


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/protocol.test
  test/clangd/shutdown-with-exit.test
  test/clangd/shutdown-without-exit.test
  test/clangd/signature-help.test
  test/clangd/unsupported-method.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38939.119370.patch
Type: text/x-patch
Size: 12535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171017/754fb72d/attachment-0001.bin>


More information about the cfe-commits mailing list