summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/InputGraph.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/include/lld/Core/InputGraph.h b/lld/include/lld/Core/InputGraph.h
index f3e5096d1ee..6b65aa9d370 100644
--- a/lld/include/lld/Core/InputGraph.h
+++ b/lld/include/lld/Core/InputGraph.h
@@ -87,15 +87,15 @@ public:
/// \brief Insert an element into the input graph at position.
void insertElementAt(std::unique_ptr<InputElement>, Position position);
- /// \brief Helper functions for the resolver. Exposed for unit tests.
- ErrorOr<InputElement *> getNextInputElement();
-
protected:
// Input arguments
InputElementVectorT _inputArgs;
// Index of the next element to be processed
uint32_t _nextElementIndex;
InputElement *_currentInputElement;
+
+private:
+ ErrorOr<InputElement *> getNextInputElement();
};
/// \brief This describes each element in the InputGraph. The Kind
OpenPOWER on IntegriCloud