summaryrefslogtreecommitdiff
path: root/lldb/scripts
diff options
context:
space:
mode:
authorChelsea Cassanova <chelsea_cassanova@apple.com>2024-10-09 14:41:50 -0700
committerGitHub <noreply@github.com>2024-10-09 14:41:50 -0700
commitac3321f104ae2a0639845f860b05c97568bb24e2 (patch)
treecb1b238fcbfe39cd83b6cfa093db8082fb23ad28 /lldb/scripts
parent115cb402d8ed91f94d22afcc4c2c9ed9def53cc7 (diff)
[lldb] Add missing include to SBLanguages.h (#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.
Diffstat (limited to 'lldb/scripts')
-rwxr-xr-xlldb/scripts/generate-sbapi-dwarf-enum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/generate-sbapi-dwarf-enum.py b/lldb/scripts/generate-sbapi-dwarf-enum.py
index 7fd603798631..689c7f81bfda 100755
--- a/lldb/scripts/generate-sbapi-dwarf-enum.py
+++ b/lldb/scripts/generate-sbapi-dwarf-enum.py
@@ -16,6 +16,8 @@ HEADER = """\
#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