[llvm] r270516 - Remove unused variable.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 17:06:05 PDT 2016
Author: zturner
Date: Mon May 23 19:06:04 2016
New Revision: 270516
URL: http://llvm.org/viewvc/llvm-project?rev=270516&view=rev
Log:
Remove unused variable.
Modified:
llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cpp
Modified: llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cpp?rev=270516&r1=270515&r2=270516&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/SymbolDumper.cpp Mon May 23 19:06:04 2016
@@ -181,12 +181,10 @@ static const EnumEntry<uint32_t> FramePr
/// the visitor out of SymbolDumper.h.
class CVSymbolDumperImpl : public CVSymbolVisitor<CVSymbolDumperImpl> {
public:
- CVSymbolDumperImpl(CVSymbolDumper &CVSD, CVTypeDumper &CVTD,
- SymbolDumpDelegate *ObjDelegate, ScopedPrinter &W,
- bool PrintRecordBytes)
- : CVSymbolVisitor(ObjDelegate), CVSD(CVSD), CVTD(CVTD),
- ObjDelegate(ObjDelegate), W(W), PrintRecordBytes(PrintRecordBytes),
- InFunctionScope(false) {}
+ CVSymbolDumperImpl(CVTypeDumper &CVTD, SymbolDumpDelegate *ObjDelegate,
+ ScopedPrinter &W, bool PrintRecordBytes)
+ : CVSymbolVisitor(ObjDelegate), CVTD(CVTD), ObjDelegate(ObjDelegate),
+ W(W), PrintRecordBytes(PrintRecordBytes), InFunctionScope(false) {}
/// CVSymbolVisitor overrides.
#define SYMBOL_RECORD(EnumName, EnumVal, Name) \
@@ -203,7 +201,6 @@ private:
uint32_t RelocationOffset);
void printLocalVariableAddrGap(ArrayRef<LocalVariableAddrGap> Gaps);
- CVSymbolDumper &CVSD;
CVTypeDumper &CVTD;
SymbolDumpDelegate *ObjDelegate;
ScopedPrinter &W;
@@ -656,15 +653,13 @@ void CVSymbolDumperImpl::visitUnknownSym
}
bool CVSymbolDumper::dump(const SymbolIterator::Record &Record) {
- CVSymbolDumperImpl Dumper(*this, CVTD, ObjDelegate.get(), W,
- PrintRecordBytes);
+ CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes);
Dumper.visitSymbolRecord(Record);
return !Dumper.hadError();
}
bool CVSymbolDumper::dump(ArrayRef<uint8_t> Data) {
- CVSymbolDumperImpl Dumper(*this, CVTD, ObjDelegate.get(), W,
- PrintRecordBytes);
+ CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes);
Dumper.visitSymbolStream(Data);
return !Dumper.hadError();
}
More information about the llvm-commits
mailing list