MLIR  21.0.0git
MlirLspRegistryFunction.h
Go to the documentation of this file.
1 //===- MlirLspRegistryFunction.h - LSP registry functions -------*- 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 // Registry function types for MLIR LSP.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPREGISTRYFUNCTION_H
14 #define MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPREGISTRYFUNCTION_H
15 
16 namespace llvm {
17 template <typename Fn>
18 class function_ref;
19 } // namespace llvm
20 
21 namespace mlir {
22 class DialectRegistry;
23 namespace lsp {
24 class URIForFile;
27 } // namespace lsp
28 } // namespace mlir
29 
30 #endif // MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPREGISTRYFUNCTION_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
URI in "file" scheme for a file.
Definition: Protocol.h:97
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Definition: CallGraph.h:229
Include the generated interface declarations.
llvm::function_ref< Fn > function_ref
Definition: LLVM.h:152