This should use Support/iterator, not <iterator>
authorChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 19:46:22 +0000 (19:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 31 Aug 2003 19:46:22 +0000 (19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8266 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/PgmDependenceGraph.h

index 25fa55f1fa9ecdb760cd0e7c2f8bbcd0a17cf1ed..3ae74779e5fa1401c06424bdc758a585f67c4684 100644 (file)
@@ -37,7 +37,7 @@
 /* #include "llvm/Analysis/PostDominators.h" -- see below */
 #include "llvm/Instruction.h"
 #include "llvm/Pass.h"
-#include <iterator>
+#include "Support/iterator"
 
 class DSGraph;
 class DependenceGraph;
@@ -133,8 +133,7 @@ public:
 /// is normally not constructed for SSA def-use dependences).
 ///---------------------------------------------------------------------------
 
-class PDGIterator: public forward_iterator<Dependence, ptrdiff_t>
-{
+class PDGIterator: public forward_iterator<Dependence, ptrdiff_t> {
   DepIterState* istate;
 
 #if 0