[PATCH] D65387: [clangd] Add a callback mechanism for handling responses from client.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 13 18:04:52 PDT 2019


thakis added inline comments.
Herald added a subscriber: usaxena95.


================
Comment at: clang-tools-extra/trunk/clangd/test/request-reply.test:6
+---
+{"jsonrpc":"2.0","id":4,"method":"workspace/executeCommand","params":{"command":"clangd.applyTweak","arguments":[{"file":"file:///clangd-test/main.cpp","selection":{"end":{"character":4,"line":0},"start":{"character":0,"line":0}},"tweakID":"ExpandAutoType"}]}}
+#      CHECK:  "id": 0,
----------------
FYI, referring to a file opened as test:///foo.cpp as file:///clangd-test/file.cpp is wrong on Windows. I fixed this in rL374746.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65387/new/

https://reviews.llvm.org/D65387





More information about the llvm-commits mailing list