Changes to be GCC 3.1 friendly
authorChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 19:31:59 +0000 (19:31 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 19:31:59 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3184 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DataStructure.h
include/llvm/Analysis/InstForest.h

index 61a2d67808bf714598659c184d3034033fed7c6b..c080c97e593b7dbec1d5f04c8dff28eb0eb80e64 100644 (file)
@@ -10,8 +10,8 @@
 #include "llvm/Pass.h"
 #include "llvm/GlobalValue.h"
 #include "Support/HashExtras.h"
+#include "Support/hash_set"
 #include <set>
-#include <hash_set>
 #include <string>
 
 class Type;
index 61a2d67808bf714598659c184d3034033fed7c6b..c080c97e593b7dbec1d5f04c8dff28eb0eb80e64 100644 (file)
@@ -10,8 +10,8 @@
 #include "llvm/Pass.h"
 #include "llvm/GlobalValue.h"
 #include "Support/HashExtras.h"
+#include "Support/hash_set"
 #include <set>
-#include <hash_set>
 #include <string>
 
 class Type;
index 5d27c8191591ab7cc80c5626f884b47bb9ab00d4..243b0fdd054542d81a4bf42e7a391b0c4161c5b2 100644 (file)
@@ -142,7 +142,7 @@ template<class Payload>
 class InstForest : public std::vector<InstTreeNode<Payload> *> {
   friend class InstTreeNode<Payload>;
 
-  typedef std::vector<InstTreeNode<Payload> *>::const_iterator const_iterator;
+  typedef typename std::vector<InstTreeNode<Payload> *>::const_iterator const_iterator;
 
   // InstMap - Map contains entries for ALL instructions in the method and the
   // InstTreeNode that they correspond to.