<div dir="ltr">Commit message was a mistake. That should have been "Remove dead code." The commit itself is legit. I'm sorry about that.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 14, 2015 at 11:23 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: ruiu<br>
Date: Thu Jan 15 01:23:39 2015<br>
New Revision: 226141<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=226141&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=226141&view=rev</a><br>
Log:<br>
temporary commit.<br>
<br>
Modified:<br>
    lld/trunk/include/lld/Core/InputGraph.h<br>
<br>
Modified: lld/trunk/include/lld/Core/InputGraph.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/InputGraph.h?rev=226141&r1=226140&r2=226141&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/InputGraph.h?rev=226141&r1=226140&r2=226141&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/include/lld/Core/InputGraph.h (original)<br>
+++ lld/trunk/include/lld/Core/InputGraph.h Thu Jan 15 01:23:39 2015<br>
@@ -86,17 +86,9 @@ public:<br>
   /// Return the Element Type for an Input Element<br>
   virtual Kind kind() const { return _kind; }<br>
<br>
-  /// \brief Dump the Input Element<br>
-  virtual bool dump(raw_ostream &diagnostics) { return true; }<br>
-<br>
   /// \brief parse the input element<br>
   virtual std::error_code parse(const LinkingContext &, raw_ostream &) = 0;<br>
<br>
-  /// \brief functions for the resolver to use<br>
-<br>
-  /// Get the next file to be processed by the resolver<br>
-  virtual File *getNextFile() = 0;<br>
-<br>
 protected:<br>
   Kind _kind; // The type of the Element<br>
 };<br>
@@ -118,8 +110,6 @@ public:<br>
     return std::error_code();<br>
   }<br>
<br>
-  File *getNextFile() override { llvm_unreachable("shouldn't be here."); }<br>
-<br>
 private:<br>
   int _size;<br>
 };<br>
@@ -160,16 +150,6 @@ public:<br>
     _file = std::move(files[0]);<br>
   }<br>
<br>
-  /// \brief Return the next File thats part of this node to the<br>
-  /// resolver.<br>
-  File *getNextFile() override {<br>
-    assert(_file);<br>
-    if (_done)<br>
-      return nullptr;<br>
-    _done = true;<br>
-    return _file.get();<br>
-  }<br>
-<br>
   std::error_code parse(const LinkingContext &, raw_ostream &) override;<br>
<br>
 protected:<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>