diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:22:25 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:22:25 +0000 |
commit | 4a9f9337511441af0624e754ad9b2b1262ee584d (patch) | |
tree | 0fe60ad7a0dbfb4dad68bd8f1e57948f5b9e708d /include/llvm/ADT | |
parent | b7c6c2a5cc5c7d11243a14a5c01859b1a506ac0c (diff) | |
download | external_llvm-4a9f9337511441af0624e754ad9b2b1262ee584d.zip external_llvm-4a9f9337511441af0624e754ad9b2b1262ee584d.tar.gz external_llvm-4a9f9337511441af0624e754ad9b2b1262ee584d.tar.bz2 |
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/Statistic.h | 4 | ||||
-rw-r--r-- | include/llvm/ADT/ilist | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 453af34..8f6ed79 100644 --- a/include/llvm/ADT/Statistic.h +++ b/include/llvm/ADT/Statistic.h @@ -52,7 +52,7 @@ protected: void destroy() const; // printValue - Overridden by template class to print out the value type... - virtual void printValue(ostream &o) const = 0; + virtual void printValue(std::ostream &o) const = 0; // hasSomeData - Return true if some data has been aquired. Avoid printing // lots of zero counts. @@ -65,7 +65,7 @@ template <typename DataType=unsigned> class Statistic : private StatisticBase { DataType Value; - virtual void printValue(ostream &o) const { o << Value; } + virtual void printValue(std::ostream &o) const { o << Value; } virtual bool hasSomeData() const { return Value != DataType(); } public: // Normal constructor, default initialize data item... diff --git a/include/llvm/ADT/ilist b/include/llvm/ADT/ilist index 04cf596..7e666c6 100644 --- a/include/llvm/ADT/ilist +++ b/include/llvm/ADT/ilist @@ -167,8 +167,8 @@ public: typedef ilist_iterator<const NodeTy> const_iterator; typedef size_t size_type; typedef ptrdiff_t difference_type; - typedef reverse_iterator<const_iterator> const_reverse_iterator; - typedef reverse_iterator<iterator> reverse_iterator; + typedef std::reverse_iterator<const_iterator> const_reverse_iterator; + typedef std::reverse_iterator<iterator> reverse_iterator; iplist() : Head(createNode()), Tail(Head) { setNext(Head, 0); |