[llvm-commits] CVS: llvm/include/Support/ilist
vadve at cs.uiuc.edu
vadve at cs.uiuc.edu
Mon Sep 16 11:47:00 PDT 2002
Changes in directory llvm/include/Support:
ilist updated: 1.4 -> 1.5
---
Log message:
Add ilist_iterator constructor from a node reference.
---
Diffs of the changes:
Index: llvm/include/Support/ilist
diff -u llvm/include/Support/ilist:1.4 llvm/include/Support/ilist:1.5
--- llvm/include/Support/ilist:1.4 Wed Jul 24 17:07:42 2002
+++ llvm/include/Support/ilist Mon Sep 16 11:46:17 2002
@@ -82,6 +82,7 @@
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
More information about the llvm-commits
mailing list