[PATCH] Add range for-loop iterator adapter for cases in SwitchInst
Marcello Maggioni
hayarms at gmail.com
Fri Jun 27 07:42:56 PDT 2014
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/20140627/aed84f07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switchinst_case_range_loop.patch
Type: application/octet-stream
Size: 1074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140627/aed84f07/attachment.obj>
More information about the llvm-commits
mailing list