[rtsan] Remove mkfifoat interceptor (#116997)
[llvm-project.git] / mlir / lib / Tools / mlir-lsp-server / LSPServer.h
blob2c50c6b4ac6f546bdf36145642186e2e396ca013
1 //===- LSPServer.h - MLIR 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 //===----------------------------------------------------------------------===//
9 #ifndef LIB_MLIR_TOOLS_MLIRLSPSERVER_LSPSERVER_H
10 #define LIB_MLIR_TOOLS_MLIRLSPSERVER_LSPSERVER_H
12 #include <memory>
14 namespace llvm {
15 struct LogicalResult;
16 } // namespace llvm
18 namespace mlir {
19 namespace lsp {
20 class JSONTransport;
21 class MLIRServer;
23 /// Run the main loop of the LSP server using the given MLIR server and
24 /// transport.
25 llvm::LogicalResult runMlirLSPServer(MLIRServer &server,
26 JSONTransport &transport);
27 } // namespace lsp
28 } // namespace mlir
30 #endif // LIB_MLIR_TOOLS_MLIRLSPSERVER_LSPSERVER_H