llvm.org GIT mirror llvm / 3000357
Make some typedefs public to make MSVC++ happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53432 91177308-0d34-0410-b5e6-96231b3b80d8 Ted Kremenek 11 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2323 template
2424 class NodeIterT = ilist_iterator > >
2525 class alist_iterator : public bidirectional_iterator {
26 public:
2627 typedef bidirectional_iterator super;
2728 typedef alist_node NodeTy;
2829
30 private:
2931 /// NodeIter - The underlying iplist iterator that is being wrapped.
3032 NodeIterT NodeIter;
3133
143145 ///
144146 template
145147 class alist_traits {
148 public:
146149 typedef alist_iterator iterator;
147150
148 public:
149151 void addNodeToList(T *) {}
150152 void removeNodeFromList(T *) {}
151153 void transferNodesFromList(alist_traits &, iterator, iterator) {}
158160 ///
159161 template
160162 class alist {
163 public:
161164 typedef alist_node NodeTy;
162
163 public:
164165 typedef typename ilist::size_type size_type;
165166
166167 private: