[llvm] [Support] Add missing header guard (PR #195870)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 08:02:16 PDT 2026
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/195870
None
>From 50ef37c206274c4665bfce8c48884d86182af0b2 Mon Sep 17 00:00:00 2001
From: Sergei Barannikov <barannikov88 at gmail.com>
Date: Tue, 5 May 2026 18:01:21 +0300
Subject: [PATCH] [Support] Add missing header guard
---
llvm/include/llvm/Support/ConvertEBCDIC.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/llvm/include/llvm/Support/ConvertEBCDIC.h b/llvm/include/llvm/Support/ConvertEBCDIC.h
index 1ed88b9a905a7..80691a3b00616 100644
--- a/llvm/include/llvm/Support/ConvertEBCDIC.h
+++ b/llvm/include/llvm/Support/ConvertEBCDIC.h
@@ -13,6 +13,9 @@
///
//===----------------------------------------------------------------------===//
+#ifndef LLVM_SUPPORT_CONVERTEBCDIC_H
+#define LLVM_SUPPORT_CONVERTEBCDIC_H
+
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
@@ -27,3 +30,5 @@ LLVM_ABI void convertToUTF8(StringRef Source, SmallVectorImpl<char> &Result);
} // namespace ConverterEBCDIC
} // namespace llvm
+
+#endif // LLVM_SUPPORT_CONVERTEBCDIC_H
More information about the llvm-commits
mailing list