[llvm-pdbdump] Clean up method signatures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner
2015-03-01 06:51:29 +00:00
parent 914913952c
commit 53e4b56257
80 changed files with 295 additions and 484 deletions

View File

@@ -150,7 +150,7 @@ static void dumpInput(StringRef Path) {
auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>();
CompilandDumper Dumper(Printer);
while (auto Compiland = Compilands->getNext())
Dumper.start(*Compiland, outs(), 2, false);
Dumper.start(*Compiland, false);
Printer.Unindent();
}
@@ -159,7 +159,7 @@ static void dumpInput(StringRef Path) {
WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---";
Printer.Indent();
TypeDumper Dumper(Printer, opts::ClassDefs);
Dumper.start(*GlobalScope, outs(), 2);
Dumper.start(*GlobalScope);
Printer.Unindent();
}
@@ -170,7 +170,7 @@ static void dumpInput(StringRef Path) {
auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>();
CompilandDumper Dumper(Printer);
while (auto Compiland = Compilands->getNext())
Dumper.start(*Compiland, outs(), 2, true);
Dumper.start(*Compiland, true);
Printer.Unindent();
}
@@ -183,20 +183,20 @@ static void dumpInput(StringRef Path) {
auto Functions = GlobalScope->findAllChildren<PDBSymbolFunc>();
while (auto Function = Functions->getNext()) {
Printer.NewLine();
Dumper.start(*Function, FunctionDumper::PointerType::None, outs(), 2);
Dumper.start(*Function, FunctionDumper::PointerType::None);
}
}
{
auto Vars = GlobalScope->findAllChildren<PDBSymbolData>();
VariableDumper Dumper(Printer);
while (auto Var = Vars->getNext())
Dumper.start(*Var, outs(), 2);
Dumper.start(*Var);
}
{
auto Thunks = GlobalScope->findAllChildren<PDBSymbolThunk>();
CompilandDumper Dumper(Printer);
while (auto Thunk = Thunks->getNext())
Dumper.dump(*Thunk, outs(), 2);
Dumper.dump(*Thunk);
}
Printer.Unindent();
}