diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-24 20:44:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-24 20:44:02 +0000 |
| commit | f7b84b6718626a88bd200fb65e320d9eef2b2c8e (patch) | |
| tree | 25d0ac41dd76f460524342f174881f5929d0bbec /llvm | |
| parent | afdf577637a02959527f6f1c29037f7f6d4f84d5 (diff) | |
| download | bcm5719-llvm-f7b84b6718626a88bd200fb65e320d9eef2b2c8e.tar.gz bcm5719-llvm-f7b84b6718626a88bd200fb65e320d9eef2b2c8e.zip | |
*** empty log message ***
llvm-svn: 3053
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Type.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index e7a192bac95..99e038af8fb 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/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; |

