[Lldb-commits] [lldb] 3bde798 - [lldb] Put SBSourceLanguageName in lldb namespace (#91685)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 10 10:00:40 PDT 2024


Author: Alex Langford
Date: 2024-05-10T10:00:36-07:00
New Revision: 3bde7983986d8ce637f6bb506860859249787751

URL: https://github.com/llvm/llvm-project/commit/3bde7983986d8ce637f6bb506860859249787751
DIFF: https://github.com/llvm/llvm-project/commit/3bde7983986d8ce637f6bb506860859249787751.diff

LOG: [lldb] Put SBSourceLanguageName in lldb namespace (#91685)

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 f7a13e5efffef..7fd6037986317 100755
--- a/lldb/scripts/generate-sbapi-dwarf-enum.py
+++ b/lldb/scripts/generate-sbapi-dwarf-enum.py
@@ -15,6 +15,8 @@
 
 #ifndef LLDB_API_SBLANGUAGE_H
 #define LLDB_API_SBLANGUAGE_H
+
+namespace lldb {
 /// Used by \\ref SBExpressionOptions.
 /// These enumerations use the same language enumerations as the DWARF
 /// specification for ease of use and consistency.
@@ -24,6 +26,8 @@
 FOOTER = """\
 };
 
+} // namespace lldb
+
 #endif
 """
 


        


More information about the lldb-commits mailing list