[Mlir-commits] [mlir] [MLIR][LSP][NFC] Fix a header guard (PR #84862)

Walter Erquinigo llvmlistbot at llvm.org
Mon Mar 11 19:38:07 PDT 2024


https://github.com/walter-erquinigo created https://github.com/llvm/llvm-project/pull/84862

This header guard is wrong and conflicts with the one from Transport.h


>From 8ae86185d53d6ae64a0d037550fc54ca114f835f Mon Sep 17 00:00:00 2001
From: walter erquinigo <walter at modular.com>
Date: Mon, 11 Mar 2024 22:36:59 -0400
Subject: [PATCH] [MLIR][LSP][NFC] Fix a header guard

This header guard is wrong and conflicts with the one from Transport.h
---
 mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"



More information about the Mlir-commits mailing list