[Lldb-commits] [lldb] r338224 - Remove friend class declarations from DWARFUnit and DWARFCompileUnit
Jan Kratochvil via lldb-commits
lldb-commits at lists.llvm.org
Sun Jul 29 12:32:37 PDT 2018
Author: jankratochvil
Date: Sun Jul 29 12:32:36 2018
New Revision: 338224
URL: http://llvm.org/viewvc/llvm-project?rev=338224&view=rev
Log:
Remove friend class declarations from DWARFUnit and DWARFCompileUnit
They are no longer needed since D45170.
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h?rev=338224&r1=338223&r2=338224&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h Sun Jul 29 12:32:36 2018
@@ -13,8 +13,6 @@
#include "DWARFUnit.h"
class DWARFCompileUnit : public DWARFUnit {
- friend class DWARFUnit;
-
public:
static DWARFUnitSP Extract(SymbolFileDWARF *dwarf2Data,
const lldb_private::DWARFDataExtractor &debug_info,
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.h?rev=338224&r1=338223&r2=338224&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.h Sun Jul 29 12:32:36 2018
@@ -33,8 +33,6 @@ enum DWARFProducer {
};
class DWARFUnit {
- friend class DWARFCompileUnit;
-
using die_iterator_range =
llvm::iterator_range<DWARFDebugInfoEntry::collection::iterator>;
More information about the lldb-commits
mailing list