diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-02-27 15:46:23 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-02-27 15:46:23 +0000 |
commit | 40998c4e388cfc05e79016aa55722929253acba8 (patch) | |
tree | 995abc24cabe8c5134fe44743de5568168a0b942 | |
parent | 7b620afb60382e26ea0c974175b50414f19fc0ff (diff) | |
download | external_llvm-40998c4e388cfc05e79016aa55722929253acba8.zip external_llvm-40998c4e388cfc05e79016aa55722929253acba8.tar.gz external_llvm-40998c4e388cfc05e79016aa55722929253acba8.tar.bz2 |
group friendship
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65633 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/ilist_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/ilist_node.h b/include/llvm/ADT/ilist_node.h index 86d5a50..dae7475 100644 --- a/include/llvm/ADT/ilist_node.h +++ b/include/llvm/ADT/ilist_node.h @@ -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 |