Remove unused private field.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2017-04-29 05:30:19 +00:00
parent c8cc907e2b
commit e85efcfd88

View File

@ -84,8 +84,8 @@ struct PageStats {
// substream types types. // substream types types.
class C13RawVisitor : public C13DebugFragmentVisitor { class C13RawVisitor : public C13DebugFragmentVisitor {
public: public:
C13RawVisitor(ScopedPrinter &P, PDBFile &F, TypeDatabase &TypeDB) C13RawVisitor(ScopedPrinter &P, PDBFile &F)
: C13DebugFragmentVisitor(F), P(P), DB(TypeDB) {} : C13DebugFragmentVisitor(F), P(P) {}
Error handleLines() override { Error handleLines() override {
DictScope DD(P, "Lines"); DictScope DD(P, "Lines");
@ -151,7 +151,6 @@ private:
} }
ScopedPrinter &P; ScopedPrinter &P;
TypeDatabase &DB;
}; };
} }
@ -753,7 +752,7 @@ Error LLVMOutputStyle::dumpDbiStream() {
ListScope SS(P, "LineInfo"); ListScope SS(P, "LineInfo");
// Inlinee Line Type Indices refer to the IPI stream. // Inlinee Line Type Indices refer to the IPI stream.
C13RawVisitor V(P, File, ItemDB); C13RawVisitor V(P, File);
if (auto EC = codeview::visitModuleDebugFragments( if (auto EC = codeview::visitModuleDebugFragments(
ModS.linesAndChecksums(), V)) ModS.linesAndChecksums(), V))
return EC; return EC;