diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-12 03:35:33 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-12 03:35:33 +0000 |
commit | fb14ed0777b25eab6a29b4cd596964df5194eae5 (patch) | |
tree | 81f54aad0c9d5325909829a54b35f01f65fe6679 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 7e103d92cc2b6d3e6d53a6353885cac9f00be84f (diff) | |
download | bcm5719-llvm-fb14ed0777b25eab6a29b4cd596964df5194eae5.tar.gz bcm5719-llvm-fb14ed0777b25eab6a29b4cd596964df5194eae5.zip |
ADT: Add ilist_iterator conversions to/from ilist_node
Allow an ilist_iterator to be constructed from an ilist_node, and give
access to the underlying ilist_node as well.
This will be used immediately in lld to support a type-erasure use case.
Longer term, they'll stick around once the iterator is using
ilist_node<NodeTy>* instead of NodeTy*.
llvm-svn: 278467
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions