mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
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
This commit is contained in:
parent
ccaa6540fc
commit
3000357ab5
@ -24,9 +24,11 @@ namespace llvm {
|
|||||||
template<class T, class LargestT = T, class ValueT = T,
|
template<class T, class LargestT = T, class ValueT = T,
|
||||||
class NodeIterT = ilist_iterator<alist_node<T, LargestT> > >
|
class NodeIterT = ilist_iterator<alist_node<T, LargestT> > >
|
||||||
class alist_iterator : public bidirectional_iterator<ValueT, ptrdiff_t> {
|
class alist_iterator : public bidirectional_iterator<ValueT, ptrdiff_t> {
|
||||||
|
public:
|
||||||
typedef bidirectional_iterator<ValueT, ptrdiff_t> super;
|
typedef bidirectional_iterator<ValueT, ptrdiff_t> super;
|
||||||
typedef alist_node<T, LargestT> NodeTy;
|
typedef alist_node<T, LargestT> NodeTy;
|
||||||
|
|
||||||
|
private:
|
||||||
/// NodeIter - The underlying iplist iterator that is being wrapped.
|
/// NodeIter - The underlying iplist iterator that is being wrapped.
|
||||||
NodeIterT NodeIter;
|
NodeIterT NodeIter;
|
||||||
|
|
||||||
@ -144,9 +146,9 @@ struct simplify_type<const alist_iterator<V, W, X, Y> > {
|
|||||||
///
|
///
|
||||||
template<class T, class LargestT = T>
|
template<class T, class LargestT = T>
|
||||||
class alist_traits {
|
class alist_traits {
|
||||||
|
public:
|
||||||
typedef alist_iterator<T, LargestT> iterator;
|
typedef alist_iterator<T, LargestT> iterator;
|
||||||
|
|
||||||
public:
|
|
||||||
void addNodeToList(T *) {}
|
void addNodeToList(T *) {}
|
||||||
void removeNodeFromList(T *) {}
|
void removeNodeFromList(T *) {}
|
||||||
void transferNodesFromList(alist_traits &, iterator, iterator) {}
|
void transferNodesFromList(alist_traits &, iterator, iterator) {}
|
||||||
@ -159,9 +161,8 @@ public:
|
|||||||
///
|
///
|
||||||
template<class T, class LargestT = T>
|
template<class T, class LargestT = T>
|
||||||
class alist {
|
class alist {
|
||||||
typedef alist_node<T, LargestT> NodeTy;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
typedef alist_node<T, LargestT> NodeTy;
|
||||||
typedef typename ilist<NodeTy>::size_type size_type;
|
typedef typename ilist<NodeTy>::size_type size_type;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user