diff options
Diffstat (limited to 'tools/llvm-pdbdump/TypeDumper.h')
-rw-r--r-- | tools/llvm-pdbdump/TypeDumper.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/tools/llvm-pdbdump/TypeDumper.h b/tools/llvm-pdbdump/TypeDumper.h index d96c24c..5c0832e 100644 --- a/tools/llvm-pdbdump/TypeDumper.h +++ b/tools/llvm-pdbdump/TypeDumper.h @@ -14,24 +14,20 @@ namespace llvm { +class LinePrinter; + class TypeDumper : public PDBSymDumper { public: - TypeDumper(bool Inline, bool ClassDefs); + TypeDumper(LinePrinter &P); - void start(const PDBSymbolExe &Exe, raw_ostream &OS, int Indent); + void start(const PDBSymbolExe &Exe); - void dump(const PDBSymbolTypeEnum &Symbol, raw_ostream &OS, - int Indent) override; - void dump(const PDBSymbolTypeFunctionSig &Symbol, raw_ostream &OS, - int Indent) override; - void dump(const PDBSymbolTypeTypedef &Symbol, raw_ostream &OS, - int Indent) override; - void dump(const PDBSymbolTypeUDT &Symbol, raw_ostream &OS, - int Indent) override; + void dump(const PDBSymbolTypeEnum &Symbol) override; + void dump(const PDBSymbolTypeTypedef &Symbol) override; + void dump(const PDBSymbolTypeUDT &Symbol) override; private: - bool InlineDump; - bool FullClassDefs; + LinePrinter &Printer; }; } |