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 llvm { |
17 | struct LogicalResult; |
18 | } // namespace llvm |
19 | |
20 | namespace mlir { |
21 | /// Implementation for tools like `tblgen-lsp-server`. |
22 | llvm::LogicalResult TableGenLspServerMain(int argc, char **argv); |
23 | } // namespace mlir |
24 | |
25 | #endif // MLIR_TOOLS_TBLGENLSPSERVER_TABLEGENLSPSERVERMAIN_H |
26 |