From be9acbfde086fc998584b81530b2e568c679adb4 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 15 Jan 2015 07:23:39 +0000 Subject: [PATCH] temporary commit. llvm-svn: 226141 --- lld/include/lld/Core/InputGraph.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lld/include/lld/Core/InputGraph.h b/lld/include/lld/Core/InputGraph.h index 0bbd2ee..b9b322d 100644 --- a/lld/include/lld/Core/InputGraph.h +++ b/lld/include/lld/Core/InputGraph.h @@ -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: -- 2.7.4