[llvm] r301738 - Remove unused private field.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 22:30:19 PDT 2017
Author: zturner
Date: Sat Apr 29 00:30:19 2017
New Revision: 301738
URL: http://llvm.org/viewvc/llvm-project?rev=301738&view=rev
Log:
Remove unused private field.
Modified:
llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp?rev=301738&r1=301737&r2=301738&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/LLVMOutputStyle.cpp Sat Apr 29 00:30:19 2017
@@ -84,8 +84,8 @@ struct PageStats {
// substream types types.
class C13RawVisitor : public C13DebugFragmentVisitor {
public:
- C13RawVisitor(ScopedPrinter &P, PDBFile &F, TypeDatabase &TypeDB)
- : C13DebugFragmentVisitor(F), P(P), DB(TypeDB) {}
+ C13RawVisitor(ScopedPrinter &P, PDBFile &F)
+ : C13DebugFragmentVisitor(F), P(P) {}
Error handleLines() override {
DictScope DD(P, "Lines");
@@ -151,7 +151,6 @@ private:
}
ScopedPrinter &P;
- TypeDatabase &DB;
};
}
@@ -753,7 +752,7 @@ Error LLVMOutputStyle::dumpDbiStream() {
ListScope SS(P, "LineInfo");
// Inlinee Line Type Indices refer to the IPI stream.
- C13RawVisitor V(P, File, ItemDB);
+ C13RawVisitor V(P, File);
if (auto EC = codeview::visitModuleDebugFragments(
ModS.linesAndChecksums(), V))
return EC;
More information about the llvm-commits
mailing list