From ccaa6540fc2866ab36f6ebecf6df101f613f8aa7 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 10 Jul 2008 22:58:10 +0000 Subject: [PATCH] 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 --- include/llvm/ADT/ilist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;