1//===- MlirPdllLspServerMain.h - MLIR PDLL 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 mlir-pdll-lsp-server for when built as standalone
10// binary.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_TOOLS_MLIR_PDLL_LSP_SERVER_MLIRPDLLLSPSERVERMAIN_H
15#define MLIR_TOOLS_MLIR_PDLL_LSP_SERVER_MLIRPDLLLSPSERVERMAIN_H
16
17namespace mlir {
18struct LogicalResult;
19
20/// Implementation for tools like `mlir-pdll-lsp-server`.
21LogicalResult MlirPdllLspServerMain(int argc, char **argv);
22
23} // namespace mlir
24
25#endif // MLIR_TOOLS_MLIR_PDLL_LSP_SERVER_MLIRPDLLLSPSERVERMAIN_H
26

source code of mlir/include/mlir/Tools/mlir-pdll-lsp-server/MlirPdllLspServerMain.h