Skip to content

Commit

Permalink
[llvm-pdbdump] Fix member initialization order warnings.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230747 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Zachary Turner committed Feb 27, 2015
1 parent 756b823 commit b6fca0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/llvm-pdbdump/CompilandDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-pdbdump/LinePrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit b6fca0b

Please sign in to comment.