projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow simple nodes to have outgoing edges
[oota-llvm.git]
/
include
/
Support
/
ilist
diff --git
a/include/Support/ilist
b/include/Support/ilist
index a5c5c6b4452baa6a0bf160cbaad5a830677791cd..26a2a2569ba9f8c641bdb54ae6d950b61f2e6f1c 100644
(file)
--- a/
include/Support/ilist
+++ b/
include/Support/ilist
@@
-82,6
+82,7
@@
public:
typedef size_t size_type;
ilist_iterator(pointer NP) : NodePtr(NP) {}
+ ilist_iterator(reference NR) : NodePtr(&NR) {}
ilist_iterator() : NodePtr(0) {}
// This is templated so that we can allow constructing a const iterator from