projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1cb473
)
*** empty log message ***
author
Chris Lattner
<sabre@nondot.org>
Wed, 24 Jul 2002 20:44:02 +0000
(20:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 24 Jul 2002 20:44:02 +0000
(20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3053
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Type.h
patch
|
blob
|
history
diff --git
a/include/llvm/Type.h
b/include/llvm/Type.h
index e7a192bac95c8b960cf184885c37e37785ed3b61..99e038af8fb7b3926e0ae5323b6c9d595f1d0a64 100644
(file)
--- a/
include/llvm/Type.h
+++ b/
include/llvm/Type.h
@@
-228,8
+228,12
@@
public:
#include "llvm/Type.def"
private:
- class TypeIterator : public std::bidirectional_iterator<const Type,
- ptrdiff_t> {
+ class TypeIterator
+#if __GNUC__ == 3
+ : public std::iterator<std::bidirectional_iterator_tag, const Type> {
+#else
+ : public std::bidirectional_iterator<const Type, ptrdiff_t> {
+#endif
const Type * const Ty;
unsigned Idx;