[LLVMdev] Does LLVM provide support for Apple-style blocks?

Eric Christopher echristo at gmail.com
Thu Jan 17 20:13:08 PST 2013


You could take a look at the lambda implementation which (In my mind) is a
little easier to grok. It's unified with a lot of the blocks
infrastructure, but not too bad.

-eric


On Thu, Jan 17, 2013 at 8:01 PM, Rick Mann <rmann at latencyzero.com> wrote:

>
> On Jan 17, 2013, at 19:33 , Eric Christopher <echristo at gmail.com> wrote:
>
> > You'll want to look at clang/lib/CodeGen/CGBlocks.[cpp, h].
>
> Thanks.
>
> I think proper blocks are way over my head for my little project. I'll try
> to implement something "block-like" using function pointers.
>
>
> --
> Rick
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130117/00703a42/attachment.html>


More information about the llvm-dev mailing list