[lld] r226262 - [ELF] Remove unused class field
Simon Atanasyan
simon at atanasyan.com
Fri Jan 16 00:58:14 PST 2015
Author: atanasyan
Date: Fri Jan 16 02:58:14 2015
New Revision: 226262
URL: http://llvm.org/viewvc/llvm-project?rev=226262&view=rev
Log:
[ELF] Remove unused class field
No functional changes.
Modified:
lld/trunk/lib/ReaderWriter/ELF/TargetHandler.h
Modified: lld/trunk/lib/ReaderWriter/ELF/TargetHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/TargetHandler.h?rev=226262&r1=226261&r2=226262&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/TargetHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/TargetHandler.h Fri Jan 16 02:58:14 2015
@@ -75,10 +75,9 @@ private:
/// a particular target on ELF. A target might wish to override implementation
/// of creating atoms and how the atoms are written to the output file.
template <class ELFT> class TargetHandler : public TargetHandlerBase {
-
public:
/// Constructor
- TargetHandler(ELFLinkingContext &targetInfo) : _context(targetInfo) {}
+ TargetHandler(ELFLinkingContext &targetInfo) {}
/// The layout determined completely by the Target.
virtual TargetLayout<ELFT> &getTargetLayout() = 0;
@@ -94,9 +93,6 @@ public:
/// How does the target deal with writing ELF output.
virtual std::unique_ptr<Writer> getWriter() = 0;
-
-private:
- ELFLinkingContext &_context;
};
} // end namespace elf
} // end namespace lld
More information about the llvm-commits
mailing list