MLIR  20.0.0git
LSPServer.h
Go to the documentation of this file.
1 //===- LSPServer.h - TableGen LSP Server ------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LIB_MLIR_TOOLS_TBLGENLSPSERVER_LSPSERVER_H
10 #define LIB_MLIR_TOOLS_TBLGENLSPSERVER_LSPSERVER_H
11 
12 #include <memory>
13 
14 namespace llvm {
15 struct LogicalResult;
16 } // namespace llvm
17 
18 namespace mlir {
19 namespace lsp {
20 class JSONTransport;
21 class TableGenServer;
22 
23 /// Run the main loop of the LSP server using the given TableGen server and
24 /// transport.
25 llvm::LogicalResult runTableGenLSPServer(TableGenServer &server,
26  JSONTransport &transport);
27 
28 } // namespace lsp
29 } // namespace mlir
30 
31 #endif // LIB_MLIR_TOOLS_TBLGENLSPSERVER_LSPSERVER_H
Include the generated interface declarations.
Definition: CallGraph.h:229
llvm::LogicalResult runTableGenLSPServer(TableGenServer &server, JSONTransport &transport)
Run the main loop of the LSP server using the given TableGen server and transport.
Definition: LSPServer.cpp:190
Include the generated interface declarations.