//===- MlirLspServerMain.cpp - MLIR Language Server main ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "mlir/Tools/mlir-lsp-server/MlirLspServerMain.h" #include "LSPServer.h" #include "MLIRServer.h" #include "mlir/IR/Dialect.h" #include "mlir/Tools/lsp-server-support/Logging.h" #include "mlir/Tools/lsp-server-support/Transport.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Program.h" usingnamespacemlir; usingnamespacemlir::lsp; LogicalResult mlir::MlirLspServerMain(int argc, char **argv, DialectRegistry ®istry) { … }