[llvm] r300163 - Remove some unused private fields.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 19:28:17 PDT 2017
Author: zturner
Date: Wed Apr 12 21:28:17 2017
New Revision: 300163
URL: http://llvm.org/viewvc/llvm-project?rev=300163&view=rev
Log:
Remove some unused private fields.
Modified:
llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.cpp
llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.h
Modified: llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.cpp?rev=300163&r1=300162&r2=300163&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.cpp Wed Apr 12 21:28:17 2017
@@ -14,7 +14,7 @@ using namespace llvm::pdb;
PrettyClassLayoutGraphicalDumper::PrettyClassLayoutGraphicalDumper(
LinePrinter &P)
- : PDBSymDumper(true), Printer(P) {}
+ : PDBSymDumper(true) {}
bool PrettyClassLayoutGraphicalDumper::start(const ClassLayout &Layout) {
return false;
Modified: llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.h?rev=300163&r1=300162&r2=300163&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.h (original)
+++ llvm/trunk/tools/llvm-pdbdump/PrettyClassLayoutGraphicalDumper.h Wed Apr 12 21:28:17 2017
@@ -34,10 +34,6 @@ public:
void dump(const PDBSymbolTypeTypedef &Symbol) override;
void dump(const PDBSymbolTypeUDT &Symbol) override;
void dump(const PDBSymbolTypeVTable &Symbol) override;
-
-private:
- bool DumpedAnything = false;
- LinePrinter &Printer;
};
}
}
More information about the llvm-commits
mailing list