[llvm-pdbdump] Fix member initialization order warnings.

llvm-svn: 230747
This commit is contained in:
Zachary Turner 2015-02-27 09:53:55 +00:00
parent 2d11c20445
commit 9411828780
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
using namespace llvm;
CompilandDumper::CompilandDumper(LinePrinter &P)
: Printer(P), PDBSymDumper(true) {}
: PDBSymDumper(true), Printer(P) {}
void CompilandDumper::dump(const PDBSymbolCompilandDetails &Symbol,
raw_ostream &OS, int Indent) {}

View File

@ -14,7 +14,7 @@
using namespace llvm;
LinePrinter::LinePrinter(int Indent, llvm::raw_ostream &Stream)
: IndentSpaces(Indent), CurrentIndent(0), OS(Stream) {}
: OS(Stream), IndentSpaces(Indent), CurrentIndent(0) {}
void LinePrinter::Indent() { CurrentIndent += IndentSpaces; }