[llvm] [orc-rt] Add missing include guard. (PR #219204)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 05:50:42 PDT 2026
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/219204
None
>From f2889be49f309a6cce591951c88a20624914bd8c Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Thu, 27 Aug 2026 22:49:15 +1000
Subject: [PATCH] [orc-rt] Add missing include guard.
---
orc-rt/include/orc-rt-utils/CommandLine.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/orc-rt/include/orc-rt-utils/CommandLine.h b/orc-rt/include/orc-rt-utils/CommandLine.h
index 2d2c94d2fd26e..254bd47b8c8d1 100644
--- a/orc-rt/include/orc-rt-utils/CommandLine.h
+++ b/orc-rt/include/orc-rt-utils/CommandLine.h
@@ -11,6 +11,9 @@
//
//===----------------------------------------------------------------------===//
+#ifndef ORC_RT_UTILS_COMMANDLINE_H
+#define ORC_RT_UTILS_COMMANDLINE_H
+
#include <algorithm>
#include <charconv>
#include <functional>
@@ -255,4 +258,7 @@ class CommandLineParser {
return S.size() >= P.size() && S.compare(0, P.size(), P) == 0;
}
};
+
} // namespace orc_rt
+
+#endif // ORC_RT_UTILS_COMMANDLINE_H
More information about the llvm-commits
mailing list