bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
I believe this is good enough now.
https://reviews.llvm.org/D33047
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.or
ilya-biryukov added inline comments.
Comment at: clangd/ClangdLSPServer.h:23
+
+class ClangdLSPServer {
+ class LSPDiagnosticsConsumer;
klimek wrote:
> ilya-biryukov wrote:
> > klimek wrote:
> > > I'd have expected something that's called LSP server to work on t
ilya-biryukov updated this revision to Diff 98745.
ilya-biryukov marked an inline comment as done.
ilya-biryukov added a comment.
Addressed new comments
https://reviews.llvm.org/D33047
Files:
clangd/ASTManager.cpp
clangd/ASTManager.h
clangd/CMakeLists.txt
clangd/ClangdLSPServer.cpp
cl
klimek added inline comments.
Comment at: clangd/ClangdLSPServer.h:23
+
+class ClangdLSPServer {
+ class LSPDiagnosticsConsumer;
ilya-biryukov wrote:
> klimek wrote:
> > I'd have expected something that's called LSP server to work on the LSP
> > protocol level
ilya-biryukov added inline comments.
Comment at: clangd/ClangdMain.cpp:41
// dispatching.
- DocumentStore Store;
- ASTManager AST(Out, Store, RunSynchronously);
- Store.addListener(&AST);
+ ClangdLSPServer AST(Out, RunSynchronously);
JSONRPCDispatcher Dispatcher(llvm::m
ilya-biryukov updated this revision to Diff 98634.
ilya-biryukov marked 3 inline comments as done.
ilya-biryukov added a comment.
Addressed style comments.
Moved ClangdScheduler to be the last field of the ClangdServer, so
that it's constructed last and destructed first.
https://reviews.llvm.org
krasimir added inline comments.
Comment at: clangd/CMakeLists.txt:12
ProtocolHandlers.cpp
)
nit: we might want to keep these sorted
Comment at: clangd/ClangdMain.cpp:41
// dispatching.
- DocumentStore Store;
- ASTManager AST(Out, S
ilya-biryukov added inline comments.
Comment at: clangd/ClangdLSPServer.h:23
+
+class ClangdLSPServer {
+ class LSPDiagnosticsConsumer;
klimek wrote:
> I'd have expected something that's called LSP server to work on the LSP
> protocol level (that is, have a ser
ilya-biryukov updated this revision to Diff 98606.
ilya-biryukov marked 3 inline comments as done.
ilya-biryukov added a comment.
Addressed review comments
https://reviews.llvm.org/D33047
Files:
clangd/ASTManager.cpp
clangd/ASTManager.h
clangd/CMakeLists.txt
clangd/ClangdLSPServer.cpp
klimek added inline comments.
Comment at: clangd/ClangdLSPServer.h:23
+
+class ClangdLSPServer {
+ class LSPDiagnosticsConsumer;
I'd have expected something that's called LSP server to work on the LSP
protocol level (that is, have a server(iostream) equivalent
10 matches
Mail list logo