[llvm] r203053 - Add a iterator and interator_range interface to the operands of a NamedMDNode.

Chandler Carruth chandlerc at google.com
Wed Mar 5 17:28:34 PST 2014


On Wed, Mar 5, 2014 at 5:12 PM, Owen Anderson <resistor at mac.com> wrote:

> +  template<class T>
> +  class op_iterator_impl {
>

Please derive from std::iterator with the appropriate tags set up.

You'll also need quite a few other members to fully satisfy the random
access iterator, but it seems worth it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140305/27092746/attachment.html>


More information about the llvm-commits mailing list