X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllvm-pdbdump%2FTypeDumper.h;h=d63019be236a207c88650f764726c8c0a3307326;hb=d6b76f9466f267ac5ec8ac0f3afa83da0d810490;hp=d96c24c87fa8e4c537550820866e30af078ab10b;hpb=92d755ea659704476da1e2aaa6ebb5c153ac0f93;p=oota-llvm.git diff --git a/tools/llvm-pdbdump/TypeDumper.h b/tools/llvm-pdbdump/TypeDumper.h index d96c24c87fa..d63019be236 100644 --- a/tools/llvm-pdbdump/TypeDumper.h +++ b/tools/llvm-pdbdump/TypeDumper.h @@ -14,23 +14,20 @@ namespace llvm { +class LinePrinter; + class TypeDumper : public PDBSymDumper { public: - TypeDumper(bool Inline, bool ClassDefs); + TypeDumper(LinePrinter &P, bool ClassDefs); - 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; + LinePrinter &Printer; bool FullClassDefs; }; }