[LCG] Remove two unused typedefs from the iterators.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 23:51:02 +0000 (23:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 23:51:02 +0000 (23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207052 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LazyCallGraph.h

index 6aa0b8e0a2f747b80c53e7cdc543bd8ff1700d19..d0de2aab10b5086d0374b5e165dd7cdba82d4a56 100644 (file)
@@ -115,8 +115,6 @@ public:
   class iterator : public std::iterator<std::bidirectional_iterator_tag, Node> {
     friend class LazyCallGraph;
     friend class LazyCallGraph::Node;
-    typedef std::iterator<std::bidirectional_iterator_tag, Node *, ptrdiff_t,
-                          Node *, Node *> BaseT;
 
     /// \brief Nonce type to select the constructor for the end iterator.
     struct IsAtEndT {};
@@ -254,8 +252,6 @@ public:
                              SCC *> {
     friend class LazyCallGraph;
     friend class LazyCallGraph::Node;
-    typedef std::iterator<std::forward_iterator_tag, SCC *, ptrdiff_t,
-                          SCC *, SCC *> BaseT;
 
     /// \brief Nonce type to select the constructor for the end iterator.
     struct IsAtEndT {};