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

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of mlir/include/mlir/Tools/tblgen-lsp-server/TableGenLspServerMain.h