1 | //===- TableGenLSPServerMain.h - TableGen Language Server main --*- 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 | // Main entry function for tblgen-lsp-server when built as standalone binary. |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #ifndef MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENLSPSERVERMAIN_H |
14 | #define MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENLSPSERVERMAIN_H |
15 | |
16 | namespace mlir { |
17 | struct LogicalResult; |
18 | |
19 | /// Implementation for tools like `tblgen-lsp-server`. |
20 | LogicalResult TableGenLspServerMain(int argc, char **argv); |
21 | |
22 | } // namespace mlir |
23 | |
24 | #endif // MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENLSPSERVERMAIN_H |
25 | |