mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
group friendship
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a58023c6c
commit
a05764c4fb
@ -30,6 +30,7 @@ template<typename NodeTy>
|
||||
class ilist_node {
|
||||
private:
|
||||
friend struct ilist_nextprev_traits<NodeTy>;
|
||||
friend struct ilist_traits<NodeTy>;
|
||||
NodeTy *Prev, *Next;
|
||||
NodeTy *getPrev() { return Prev; }
|
||||
NodeTy *getNext() { return Next; }
|
||||
@ -39,7 +40,6 @@ private:
|
||||
void setNext(NodeTy *N) { Next = N; }
|
||||
protected:
|
||||
ilist_node() : Prev(0), Next(0) {}
|
||||
friend struct ilist_traits<NodeTy>;
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user