[Lldb-commits] [lldb] e3476f6 - [lldb][gardening] Remove full name of "DWARFDIE" type in GetTypeForDIE (#70062)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 24 09:49:12 PDT 2023


Author: Augusto Noronha
Date: 2023-10-24T09:49:08-07:00
New Revision: e3476f68af5dd5e7ed672ac688396d6d6fba09b4

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

LOG: [lldb][gardening] Remove full name of "DWARFDIE" type in GetTypeForDIE (#70062)

When moving the GetTypeForDIE function from DWARFASTParserClang to
DWARFASTParser, I kept the signature as-is. To match the rest of the
function signatures in DWARFASTParser, remove the full name
(lldb_private::plugin::dwarf::DWARFDIE -> DWARFDIE) in the signature of
DWARFASTParser::GetTypeForDIE.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
index 6749cb0e5db17a6..66db396279e0630 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
@@ -64,8 +64,7 @@ class DWARFASTParser {
   ParseChildArrayInfo(const DWARFDIE &parent_die,
                       const ExecutionContext *exe_ctx = nullptr);
 
-  lldb_private::Type *
-  GetTypeForDIE(const lldb_private::plugin::dwarf::DWARFDIE &die);
+  lldb_private::Type *GetTypeForDIE(const DWARFDIE &die);
 
   static lldb::AccessType GetAccessTypeFromDWARF(uint32_t dwarf_accessibility);
 


        


More information about the lldb-commits mailing list