[llvm-commits] [llvm] r53431 - /llvm/trunk/include/llvm/ADT/ilist.h
Ted Kremenek
kremenek at apple.com
Thu Jul 10 15:58:10 PDT 2008
Author: kremenek
Date: Thu Jul 10 17:58:10 2008
New Revision: 53431
URL: http://llvm.org/viewvc/llvm-project?rev=53431&view=rev
Log:
Make typedefs in ilist public (Visual C++ errors out when they are private).
Modified:
llvm/trunk/include/llvm/ADT/ilist.h
Modified: llvm/trunk/include/llvm/ADT/ilist.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ilist.h?rev=53431&r1=53430&r2=53431&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ilist.h (original)
+++ llvm/trunk/include/llvm/ADT/ilist.h Thu Jul 10 17:58:10 2008
@@ -83,10 +83,11 @@
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;
More information about the llvm-commits
mailing list