[Mlir-commits] [mlir] [MLIR][LSP][NFC] Fix a header guard (PR #84862)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 11 19:38:36 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
@llvm/pr-subscribers-mlir-core
Author: Walter Erquinigo (walter-erquinigo)
<details>
<summary>Changes</summary>
This header guard is wrong and conflicts with the one from Transport.h
---
Full diff: https://github.com/llvm/llvm-project/pull/84862.diff
1 Files Affected:
- (modified) mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h (+2-2)
``````````diff
diff --git a/mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h b/mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h
index 969058b0228895..9ed8326a602e6c 100644
--- a/mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h
+++ b/mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef MLIR_TOOLS_LSPSERVERSUPPORT_TRANSPORT_H
-#define MLIR_TOOLS_LSPSERVERSUPPORT_TRANSPORT_H
+#ifndef MLIR_TOOLS_LSPSERVERSUPPORT_SOURCEMGRUTILS_H
+#define MLIR_TOOLS_LSPSERVERSUPPORT_SOURCEMGRUTILS_H
#include "mlir/Tools/lsp-server-support/Protocol.h"
#include "llvm/Support/SourceMgr.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/84862
More information about the Mlir-commits
mailing list