forked from OSchip/llvm-project
Teach TypeSystem about PDBASTParser
Currently, only ClangASTContext knows about PDBASTParser. Eventually we want the TypeSystem to have getters/setters for the base parser and then have the TypeSystem subclasses know about the proper PDBASTParser subclasses. This is similar to how DWARFASTParsers work. llvm-svn: 357131
This commit is contained in:
parent
b2978c0203
commit
50a1186381
|
@ -454,7 +454,7 @@ public:
|
|||
// TypeSystem methods
|
||||
//------------------------------------------------------------------
|
||||
DWARFASTParser *GetDWARFParser() override;
|
||||
PDBASTParser *GetPDBParser();
|
||||
PDBASTParser *GetPDBParser() override;
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// ClangASTContext callbacks for external source lookups.
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
class DWARFDIE;
|
||||
class DWARFASTParser;
|
||||
class PDBASTParser;
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -91,6 +92,7 @@ public:
|
|||
virtual void Finalize() {}
|
||||
|
||||
virtual DWARFASTParser *GetDWARFParser() { return nullptr; }
|
||||
virtual PDBASTParser *GetPDBParser() { return nullptr; }
|
||||
|
||||
virtual SymbolFile *GetSymbolFile() const { return m_sym_file; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue