From: Zachary Turner Date: Fri, 27 Feb 2015 09:53:55 +0000 (+0000) Subject: [llvm-pdbdump] Fix member initialization order warnings. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b6fca0bb3743de704a7750ba28cd4612c513726e;p=oota-llvm.git [llvm-pdbdump] Fix member initialization order warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230747 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-pdbdump/CompilandDumper.cpp b/tools/llvm-pdbdump/CompilandDumper.cpp index ff956a0c141..e15384ce71c 100644 --- a/tools/llvm-pdbdump/CompilandDumper.cpp +++ b/tools/llvm-pdbdump/CompilandDumper.cpp @@ -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) {} diff --git a/tools/llvm-pdbdump/LinePrinter.cpp b/tools/llvm-pdbdump/LinePrinter.cpp index afdfa37edf3..09ba329ad0a 100644 --- a/tools/llvm-pdbdump/LinePrinter.cpp +++ b/tools/llvm-pdbdump/LinePrinter.cpp @@ -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; }