[lld] r208124 - Tests no longer uses getNextInputElement, so make it private.

Rui Ueyama ruiu at google.com
Tue May 6 12:32:54 PDT 2014


Author: ruiu
Date: Tue May  6 14:32:54 2014
New Revision: 208124

URL: http://llvm.org/viewvc/llvm-project?rev=208124&view=rev
Log:
Tests no longer uses getNextInputElement, so make it private.

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=208124&r1=208123&r2=208124&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/InputGraph.h (original)
+++ lld/trunk/include/lld/Core/InputGraph.h Tue May  6 14:32:54 2014
@@ -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





More information about the llvm-commits mailing list