summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/test/request-reply.test
Commit message (Collapse)AuthorAgeFilesLines
* Make code-action-request.test and request-reply.test pass on Windows.Nico Weber2019-10-141-2/+2
| | | | | | | | | | | | clangd's test:// scheme expands to /clangd-test on non-Win and to C:/clang-test on Win, so it can't be mixed freely with file:///clangd-test since that's wrong on Windows. This makes both tests consistenly use the test:// scheme. (Alternatively, we could use the //INPUT_DIR pattern used in a few other tests.) Part of PR43592. llvm-svn: 374746
* [clangd] Add a callback mechanism for handling responses from client.Haojian Wu2019-08-051-0/+43
Summary: The callback will be invoked in clangd when we receive a reply from the client. This is a prerequisite of implementing a generic mechanism for chainable refactorings (e.g. extract variable and rename), this would allow server to trigger a new request to the LSP client after receiving a reply from the client. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65387 llvm-svn: 367845
OpenPOWER on IntegriCloud