[Lldb-commits] [lldb] [lldb] Add missing include to SBLanguages.h (PR #111763)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 9 14:34:57 PDT 2024
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/111763
SBLanguages.h uses a uint16_t but is missing the include for `<cstdint>`, if any file includes this without including that it will cause a build error so this commit adds this include.
>From f652fa49979306cf38bdb9e1b463c55a5c930ac1 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Wed, 9 Oct 2024 14:31:29 -0700
Subject: [PATCH] [lldb] Add missing include to SBLanguages.h
SBLanguages.h uses a uint16_t but is missing the include for
`<cstdint>`, if any file includes this without including that it will
cause a build error so this commit adds this include.
---
lldb/scripts/generate-sbapi-dwarf-enum.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lldb/scripts/generate-sbapi-dwarf-enum.py b/lldb/scripts/generate-sbapi-dwarf-enum.py
index 7fd6037986317e..689c7f81bfda01 100755
--- a/lldb/scripts/generate-sbapi-dwarf-enum.py
+++ b/lldb/scripts/generate-sbapi-dwarf-enum.py
@@ -16,6 +16,8 @@
#ifndef LLDB_API_SBLANGUAGE_H
#define LLDB_API_SBLANGUAGE_H
+#include <cstdint>
+
namespace lldb {
/// Used by \\ref SBExpressionOptions.
/// These enumerations use the same language enumerations as the DWARF
More information about the lldb-commits
mailing list