[PATCH] Add range for-loop iterator adapter for cases in SwitchInst

Marcello Maggioni hayarms at gmail.com
Tue Jul 1 07:28:56 PDT 2014


Bump for this


2014-06-27 16:42 GMT+02:00 Marcello Maggioni <hayarms at gmail.com>:

> Hi, after some suggestions about adding a range for-loop adapter for
> SwitchInst cases iterator I made this patch to add them.
>
> I needed to add kind of a "fake" operator* to CaseIt , because the Case
> iterator for switches is more than an iterator, but it is also basically
> the iterated object itself.
>
> Needs review and eventual commit (I don't have commit access :) )
>
> Marcello
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/dc46809c/attachment.html>


More information about the llvm-commits mailing list