[lld] r226381 - Remove dead code.

Rui Ueyama ruiu at google.com
Sat Jan 17 15:27:37 PST 2015


Author: ruiu
Date: Sat Jan 17 17:27:37 2015
New Revision: 226381

URL: http://llvm.org/viewvc/llvm-project?rev=226381&view=rev
Log:
Remove dead code.

Modified:
    lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h

Modified: lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h?rev=226381&r1=226380&r2=226381&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h Sat Jan 17 17:27:37 2015
@@ -290,17 +290,6 @@ public:
   bool alignSegments() const { return _alignSegments; }
   void setAlignSegments(bool align) { _alignSegments = align; }
 
-  /// \brief The attributes class provides a way for a input file to look into
-  /// all the positional attributes that were specified in the command line.
-  /// There are few positional operators and the number of arguments to the
-  /// ELFFileNode class keeps growing. This achieves code to be clean as well.
-  class Attributes {
-  public:
-    Attributes() : _isSysRooted(false) {}
-    void setSysRooted(bool isSysRooted) { _isSysRooted = isSysRooted; }
-    bool _isSysRooted;
-  };
-
 private:
   ELFLinkingContext() LLVM_DELETED_FUNCTION;
 





More information about the llvm-commits mailing list