[llvm] r207052 - [LCG] Remove two unused typedefs from the iterators.

Chandler Carruth chandlerc at gmail.com
Wed Apr 23 16:51:03 PDT 2014


Author: chandlerc
Date: Wed Apr 23 18:51:02 2014
New Revision: 207052

URL: http://llvm.org/viewvc/llvm-project?rev=207052&view=rev
Log:
[LCG] Remove two unused typedefs from the iterators.

Modified:
    llvm/trunk/include/llvm/Analysis/LazyCallGraph.h

Modified: llvm/trunk/include/llvm/Analysis/LazyCallGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LazyCallGraph.h?rev=207052&r1=207051&r2=207052&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LazyCallGraph.h (original)
+++ llvm/trunk/include/llvm/Analysis/LazyCallGraph.h Wed Apr 23 18:51:02 2014
@@ -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 {};





More information about the llvm-commits mailing list