[cfe-dev] [Proposal] libclang code generation

NAKAMURA Takumi geek4civic at gmail.com
Mon Jun 25 14:45:43 PDT 2012


How about below?

  - libclang exports C++ API.
  - libclangcodegen depends on it.
2012/06/26 6:20 "Rafael EspĂ­ndola" <rafael.espindola at gmail.com>:

> Currently libclang is not linked with codegen, so this would require a
> fairly large increase in its size. Can you explain what is the use
> case you have in mind and why the existing APIs in llvm/include/llvm-c
> don't work for you?
>
> On 10 June 2012 11:46, Gregory Szorc <gregory.szorc at gmail.com> wrote:
> > About 6 months ago, I proposed an interface for code generation in
> > libclang [1]. I was new to Clang at the time and my proposal was way
> > off the mark. The feature still interests me and I'd love to see it
> > incorporated in libclang.
> >
> > Attached is a new proposal for performing code generation in libclang.
> > It just contains the declarations of the new C API entities. The
> > implementation is just a placeholder and doesn't do anything.
> >
> > I'm still trying to fully grok how code generation works and am not
> > sure if this API is sufficient. I guess that's where the community can
> > help. What needs to change?
> >
> > [1] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-December/019149.html
> >
> > Gregory
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120626/b4698bba/attachment.html>


More information about the cfe-dev mailing list