diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-10 22:58:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-10 22:58:10 +0000 |
commit | ccaa6540fc2866ab36f6ebecf6df101f613f8aa7 (patch) | |
tree | eae1176b6877242bad01b9d736728345ffac3a91 /include/llvm/ADT/ilist.h | |
parent | 98fd7f6b2f109e16abf3e4279c971f8d3703b8a6 (diff) | |
download | external_llvm-ccaa6540fc2866ab36f6ebecf6df101f613f8aa7.zip external_llvm-ccaa6540fc2866ab36f6ebecf6df101f613f8aa7.tar.gz external_llvm-ccaa6540fc2866ab36f6ebecf6df101f613f8aa7.tar.bz2 |
Make typedefs in ilist public (Visual C++ errors out when they are private).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/ilist.h')
-rw-r--r-- | include/llvm/ADT/ilist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index e66ee2f..8d9bab5 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -83,10 +83,11 @@ struct ilist_traits<const Ty> : public ilist_traits<Ty> {}; template<typename NodeTy> class ilist_iterator : public bidirectional_iterator<NodeTy, ptrdiff_t> { + +public: typedef ilist_traits<NodeTy> Traits; typedef bidirectional_iterator<NodeTy, ptrdiff_t> super; -public: typedef size_t size_type; typedef typename super::pointer pointer; typedef typename super::reference reference; |