[Lldb-commits] [lldb] ac3321f - [lldb] Add missing include to	SBLanguages.h (#111763)
    via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Oct  9 14:41:54 PDT 2024
    
    
  
Author: Chelsea Cassanova
Date: 2024-10-09T14:41:50-07:00
New Revision: ac3321f104ae2a0639845f860b05c97568bb24e2
URL: https://github.com/llvm/llvm-project/commit/ac3321f104ae2a0639845f860b05c97568bb24e2
DIFF: https://github.com/llvm/llvm-project/commit/ac3321f104ae2a0639845f860b05c97568bb24e2.diff
LOG: [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.
Added: 
    
Modified: 
    lldb/scripts/generate-sbapi-dwarf-enum.py
Removed: 
    
################################################################################
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