ilya-biryukov marked an inline comment as done. ilya-biryukov added a comment.
Regarding the testing. It looks like we have two ways of testing this: 1. Add clangd-specific protocol handlers that output useful stats(i.e. currently opened documents), use those in tests. 2. Add unit tests that emulate the protocol actions and run the checks in C++. Option 1 seems preferable, we could probably use the 'workspace/executeCommand' for that. https://reviews.llvm.org/D31746 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits