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_cassan...@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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to