[lld] r246164 - ELF/AMDGPU: Remove another unused private member variable

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 10:11:10 PDT 2015


Author: tstellar
Date: Thu Aug 27 12:11:10 2015
New Revision: 246164

URL: http://llvm.org/viewvc/llvm-project?rev=246164&view=rev
Log:
ELF/AMDGPU: Remove another unused private member variable

Modified:
    lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h

Modified: lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h?rev=246164&r1=246163&r2=246164&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPURelocationHandler.h Thu Aug 27 12:11:10 2015
@@ -19,15 +19,12 @@ class AMDGPUTargetLayout;
 
 class AMDGPUTargetRelocationHandler final : public TargetRelocationHandler {
 public:
-  AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout)
-      : _targetLayout(layout) {}
+  AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout) { }
 
   std::error_code applyRelocation(ELFWriter &, llvm::FileOutputBuffer &,
                                   const AtomLayout &,
                                   const Reference &) const override;
 
-private:
-  AMDGPUTargetLayout &_targetLayout;
 };
 } // elf
 } // lld




More information about the llvm-commits mailing list