projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a58023
)
group friendship
author
Gabor Greif
<ggreif@gmail.com>
Fri, 27 Feb 2009 15:46:23 +0000
(15:46 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Fri, 27 Feb 2009 15:46:23 +0000
(15:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65633
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ilist_node.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ilist_node.h
b/include/llvm/ADT/ilist_node.h
index 86d5a500f89eb7697573d2857c8e843ec5fd86ba..dae7475ffa01222cf7c05b8990d30fb1b331a461 100644
(file)
--- 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