[llvm] r230747 - [llvm-pdbdump] Fix member initialization order warnings.
Zachary Turner
zturner at google.com
Fri Feb 27 01:53:55 PST 2015
Author: zturner
Date: Fri Feb 27 03:53:55 2015
New Revision: 230747
URL: http://llvm.org/viewvc/llvm-project?rev=230747&view=rev
Log:
[llvm-pdbdump] Fix member initialization order warnings.
Modified:
llvm/trunk/tools/llvm-pdbdump/CompilandDumper.cpp
llvm/trunk/tools/llvm-pdbdump/LinePrinter.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/CompilandDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/CompilandDumper.cpp?rev=230747&r1=230746&r2=230747&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/CompilandDumper.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/CompilandDumper.cpp Fri Feb 27 03:53:55 2015
@@ -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) {}
Modified: llvm/trunk/tools/llvm-pdbdump/LinePrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/LinePrinter.cpp?rev=230747&r1=230746&r2=230747&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/LinePrinter.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/LinePrinter.cpp Fri Feb 27 03:53:55 2015
@@ -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; }
More information about the llvm-commits
mailing list