[llvm] r220487 - Remove explicit (void) use of DwarfFile::DD that was accidentally left in r220452.
David Blaikie
dblaikie at gmail.com
Thu Oct 23 09:12:58 PDT 2014
Author: dblaikie
Date: Thu Oct 23 11:12:58 2014
New Revision: 220487
URL: http://llvm.org/viewvc/llvm-project?rev=220487&view=rev
Log:
Remove explicit (void) use of DwarfFile::DD that was accidentally left in r220452.
Caught in post-commit review by Frédéric.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfFile.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfFile.cpp?rev=220487&r1=220486&r2=220487&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfFile.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfFile.cpp Thu Oct 23 11:12:58 2014
@@ -20,9 +20,7 @@
namespace llvm {
DwarfFile::DwarfFile(AsmPrinter *AP, DwarfDebug &DD, StringRef Pref,
BumpPtrAllocator &DA)
- : Asm(AP), DD(DD), StrPool(DA, *Asm, Pref) {
- (void)this->DD;
-}
+ : Asm(AP), DD(DD), StrPool(DA, *Asm, Pref) {}
DwarfFile::~DwarfFile() {}
More information about the llvm-commits
mailing list