diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 16:46:17 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 16:46:17 +0000 |
commit | 33adbcc87d92c6c3e620870c804f4a2533ecc850 (patch) | |
tree | 4f51a2291e3c46e198b4ad69e578e6464b43682d /include/Support | |
parent | c7a6d24cef8aaf0de808ed30c8720e91fc5888e1 (diff) | |
download | external_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/ilist | 1 |
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 |