[Mlir-commits] [mlir] [mlir][lsp] Enable registering dialects based on URI. (PR #141331)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri May 23 21:45:42 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- mlir/include/mlir/Tools/mlir-lsp-server/MlirLspRegistryFunction.h mlir/include/mlir/Tools/mlir-lsp-server/MlirLspServerMain.h mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp mlir/lib/Tools/mlir-lsp-server/MLIRServer.h mlir/lib/Tools/mlir-lsp-server/MlirLspServerMain.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Tools/mlir-lsp-server/MlirLspRegistryFunction.h b/mlir/include/mlir/Tools/mlir-lsp-server/MlirLspRegistryFunction.h
index c83b361a0..4811ecb5e 100644
--- a/mlir/include/mlir/Tools/mlir-lsp-server/MlirLspRegistryFunction.h
+++ b/mlir/include/mlir/Tools/mlir-lsp-server/MlirLspRegistryFunction.h
@@ -14,7 +14,8 @@
#define MLIR_TOOLS_MLIR_LSP_SERVER_MLIRLSPREGISTRYFUNCTION_H
namespace llvm {
-template <typename Fn> class function_ref;
+template <typename Fn>
+class function_ref;
} // namespace llvm
namespace mlir {
``````````
</details>
https://github.com/llvm/llvm-project/pull/141331
More information about the Mlir-commits
mailing list