diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-05-06 19:32:54 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-05-06 19:32:54 +0000 |
| commit | 0d85dbfce04fe0761ea01695c3942d7d6ed99322 (patch) | |
| tree | e306a7280a3477fce0e3bb7f1fc871850edf649c | |
| parent | 2fa41d18173e5f00acba2fa4a397cbcd751a2d9e (diff) | |
| download | bcm5719-llvm-0d85dbfce04fe0761ea01695c3942d7d6ed99322.tar.gz bcm5719-llvm-0d85dbfce04fe0761ea01695c3942d7d6ed99322.zip | |
Tests no longer uses getNextInputElement, so make it private.
llvm-svn: 208124
| -rw-r--r-- | lld/include/lld/Core/InputGraph.h | 6 |
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 |

