1 #include "mlir/Tools/mlir-lsp-server/MlirLspServerMain.h"
2 #include "flang/Optimizer/Support/InitFIR.h"
4 int main(int argc
, char **argv
) {
5 mlir::DialectRegistry registry
;
6 fir::support::registerNonCodegenDialects(registry
);
7 fir::support::addFIRExtensions(registry
);
8 return mlir::failed(mlir::MlirLspServerMain(argc
, argv
, registry
));