From b6fca0bb3743de704a7750ba28cd4612c513726e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 27 Feb 2015 09:53:55 +0000 Subject: [PATCH] [llvm-pdbdump] Fix member initialization order warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230747 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-pdbdump/CompilandDumper.cpp | 2 +- tools/llvm-pdbdump/LinePrinter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.34.1