[lld] r226141 - temporary commit.
Rui Ueyama
ruiu at google.com
Wed Jan 14 23:23:39 PST 2015
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:
More information about the llvm-commits
mailing list