Skip to content

Commit 78598ae

Browse files
committed
[lldb] Update DWARFASTParser references to use new plugin::dwarf namespace
1 parent c07f420 commit 78598ae

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include "UniqueDWARFASTType.h"
4242

4343
class DWARFASTParserClang;
44+
class DWARFASTParserSwift;
4445

4546
namespace llvm {
4647
class DWARFDebugAbbrev;

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,16 @@ namespace llvm {
7777
class LLVMContext;
7878
}
7979

80-
class DWARFASTParser;
8180
class SwiftEnumDescriptor;
8281

8382
namespace lldb_private {
8483

84+
namespace plugin {
85+
namespace dwarf {
86+
class DWARFASTParser;
87+
} // namespace dwarf
88+
} // namespace plugin
89+
8590
struct SourceModule;
8691
class SwiftASTContext;
8792
class ClangExternalASTSourceCallbacks;
@@ -542,7 +547,7 @@ class SwiftASTContext : public TypeSystemSwift {
542547

543548
bool IsFixedSize(CompilerType compiler_type);
544549

545-
DWARFASTParser *GetDWARFParser() override;
550+
plugin::dwarf::DWARFASTParser *GetDWARFParser() override;
546551

547552
// CompilerDecl functions
548553
ConstString DeclGetName(void *opaque_decl) override {

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class TypeSystemSwiftTypeRef : public TypeSystemSwift {
107107
Status IsCompatible() override;
108108

109109
void DiagnoseWarnings(Process &process, Module &module) const override;
110-
DWARFASTParser *GetDWARFParser() override;
110+
plugin::dwarf::DWARFASTParser *GetDWARFParser() override;
111111
// CompilerDecl functions
112112
ConstString DeclGetName(void *opaque_decl) override {
113113
return ConstString("");
@@ -488,7 +488,7 @@ class TypeSystemSwiftTypeRef : public TypeSystemSwift {
488488
mutable std::unique_ptr<SwiftDWARFImporterForClangTypes>
489489
m_dwarf_importer_for_clang_types_up;
490490
mutable std::unique_ptr<ClangNameImporter> m_name_importer_up;
491-
std::unique_ptr<DWARFASTParser> m_dwarf_ast_parser_up;
491+
std::unique_ptr<plugin::dwarf::DWARFASTParser> m_dwarf_ast_parser_up;
492492

493493
/// The APINotesManager responsible for each Clang module.
494494
llvm::DenseMap<clang::Module *,

0 commit comments

Comments
 (0)