[PATCH] Add FilteredArgList to represent filtered arglist

Rui Ueyama ruiu at google.com
Sun May 26 12:37:13 PDT 2013


> > +/// FilteredArgList - ArgList with filters. Useful to be used in
> > +/// range-based for loop to iterate over filtered arguments.
>
> Could we just have/use a generic range abstraction (essentially a simple
> class template with two iterator members, one returned by begin, the other
> by end) rather than writing a custom type here?
>
What if begin is called twice? Is it okay to return the same object, not a
new one?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130526/c8d16cb5/attachment.html>


More information about the llvm-commits mailing list