From: Chris Lattner Date: Wed, 31 Jul 2002 19:31:59 +0000 (+0000) Subject: Changes to be GCC 3.1 friendly X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49af5e4131d0ac957cbab2a3521517aca62e79ed;p=oota-llvm.git Changes to be GCC 3.1 friendly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3184 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index 61a2d67808b..c080c97e593 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 -#include #include class Type; diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h index 61a2d67808b..c080c97e593 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 -#include #include class Type; diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index 5d27c819159..243b0fdd054 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -142,7 +142,7 @@ template class InstForest : public std::vector *> { friend class InstTreeNode; - typedef std::vector *>::const_iterator const_iterator; + typedef typename std::vector *>::const_iterator const_iterator; // InstMap - Map contains entries for ALL instructions in the method and the // InstTreeNode that they correspond to.