[cfe-dev] Nested functions in Clang?
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Sat Sep 12 17:21:49 PDT 2015
On Sat, Sep 12, 2015 at 07:18:26PM -0500, Rodney M. Bates via cfe-dev wrote:
> Does Clang have an option that allows C nested functions, as in gcc?
> So far, I can't find it. I just want to look at generated llvm IR, for
> ideas on the best way to produce it from another front end.
Consider using the lambda approach instead, e.g. provide a hidden
argument for the context.
More information about the cfe-dev