Fix -Wmismatched-tags introduced in r363910

That commit changed DIERef from a struct to a class, but did not update
the forward-declarations. This fixes one forward-declaration, and
removes other (unused) decls.

llvm-svn: 363915
This commit is contained in:
Pavel Labath 2019-06-20 09:46:37 +00:00
parent dad50a7458
commit 5418d335e1
3 changed files with 1 additions and 4 deletions

View File

@ -12,14 +12,13 @@
#include "lldb/Core/dwarf.h"
#include "lldb/lldb-types.h"
struct DIERef;
class DIERef;
class DWARFASTParser;
class DWARFAttributes;
class DWARFUnit;
class DWARFDebugInfoEntry;
class DWARFDeclContext;
class SymbolFileDWARF;
class DWARFDIE;
class DWARFBaseDIE {
public:

View File

@ -62,7 +62,6 @@ public:
friend class SymbolFileDWARFDebugMap;
friend class SymbolFileDWARFDwo;
friend class DebugMapModule;
friend struct DIERef;
friend class DWARFCompileUnit;
friend class DWARFDIE;
friend class DWARFASTParserClang;

View File

@ -133,7 +133,6 @@ protected:
enum { kHaveInitializedOSOs = (1 << 0), kNumFlags };
friend class DebugMapModule;
friend struct DIERef;
friend class DWARFASTParserClang;
friend class DWARFCompileUnit;
friend class SymbolFileDWARF;