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