summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-31 19:31:59 +0000
committerChris Lattner <sabre@nondot.org>2002-07-31 19:31:59 +0000
commit49af5e4131d0ac957cbab2a3521517aca62e79ed (patch)
tree21d30d431acf74e278335f022b4d91cb480e6816 /include
parent7a40d6db08e44c72f2183177718a8c745e4eb21b (diff)
downloadexternal_llvm-49af5e4131d0ac957cbab2a3521517aca62e79ed.zip
external_llvm-49af5e4131d0ac957cbab2a3521517aca62e79ed.tar.gz
external_llvm-49af5e4131d0ac957cbab2a3521517aca62e79ed.tar.bz2
Changes to be GCC 3.1 friendly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DataStructure.h2
-rw-r--r--include/llvm/Analysis/DataStructure/DataStructure.h2
-rw-r--r--include/llvm/Analysis/InstForest.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h
index 61a2d67..c080c97 100644
--- a/include/llvm/Analysis/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure.h
@@ -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;
diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h
index 61a2d67..c080c97 100644
--- a/include/llvm/Analysis/DataStructure/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure/DataStructure.h
@@ -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;
diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h
index 5d27c81..243b0fd 100644
--- a/include/llvm/Analysis/InstForest.h
+++ b/include/llvm/Analysis/InstForest.h
@@ -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.