[Lldb-commits] [lldb] 5990850 - [LLDB][NFC] Add a missing namespace

walter erquinigo via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 17 15:16:04 PDT 2023


Author: walter erquinigo
Date: 2023-10-17T18:15:29-04:00
New Revision: 59908504cd7a72cd2a614e5c6db5410101209365

URL: https://github.com/llvm/llvm-project/commit/59908504cd7a72cd2a614e5c6db5410101209365
DIFF: https://github.com/llvm/llvm-project/commit/59908504cd7a72cd2a614e5c6db5410101209365.diff

LOG: [LLDB][NFC] Add a missing namespace

This adds back a namespace to the value of a #define statement. This is needed to prevent collision with other types with the same name.

Added: 
    

Modified: 
    lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
index 8ba7cd34f43e044..646d5d9a471c41c 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
@@ -62,7 +62,7 @@ class SymbolFileDWARFDebugMap;
 class SymbolFileDWARFDwo;
 class SymbolFileDWARFDwp;
 
-#define DIE_IS_BEING_PARSED ((Type *)1)
+#define DIE_IS_BEING_PARSED ((lldb_private::Type *)1)
 
 class SymbolFileDWARF : public SymbolFileCommon {
   /// LLVM RTTI support.


        


More information about the lldb-commits mailing list