aboutsummaryrefslogtreecommitdiffstats
path: root/include/Support
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-09-16 16:46:17 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-09-16 16:46:17 +0000
commit33adbcc87d92c6c3e620870c804f4a2533ecc850 (patch)
tree4f51a2291e3c46e198b4ad69e578e6464b43682d /include/Support
parentc7a6d24cef8aaf0de808ed30c8720e91fc5888e1 (diff)
downloadexternal_llvm-33adbcc87d92c6c3e620870c804f4a2533ecc850.zip
external_llvm-33adbcc87d92c6c3e620870c804f4a2533ecc850.tar.gz
external_llvm-33adbcc87d92c6c3e620870c804f4a2533ecc850.tar.bz2
Add ilist_iterator constructor from a node reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support')
-rw-r--r--include/Support/ilist1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Support/ilist b/include/Support/ilist
index a5c5c6b..26a2a25 100644
--- 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