From: Ted Kremenek Date: Thu, 10 Jul 2008 22:58:10 +0000 (+0000) Subject: Make typedefs in ilist public (Visual C++ errors out when they are private). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccaa6540fc2866ab36f6ebecf6df101f613f8aa7;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index e66ee2f40bc..8d9bab5caaf 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -83,10 +83,11 @@ struct ilist_traits : public ilist_traits {}; template class ilist_iterator : public bidirectional_iterator { + +public: typedef ilist_traits Traits; typedef bidirectional_iterator super; -public: typedef size_t size_type; typedef typename super::pointer pointer; typedef typename super::reference reference;