void TypedefDumper::start(const PDBSymbolTypeTypedef &Symbol) { WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; uint32_t TargetId = Symbol.getTypeId(); if (auto TypeSymbol = Symbol.getSession().getSymbolById(TargetId)) TypeSymbol->dump(*this); WithColor(Printer, PDB_ColorItem::Identifier).get() << " " << Symbol.getName(); }
void TypeDumper::dump(const PDBSymbolTypeTypedef &Symbol) { if (Printer.IsTypeExcluded(Symbol.getName())) return; Printer.NewLine(); TypedefDumper Dumper(Printer); Dumper.start(Symbol); }
void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) { dumpClassParentWithScopeOperator(Symbol, Printer, *this); WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); }
void VariableDumper::dump(const PDBSymbolTypeTypedef &Symbol) { WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); }