[cfe-dev] Using Clang AST classes to generate LLVM IR for a compiler front-end

João Matos ripzonetriton at gmail.com
Mon Dec 24 17:22:34 PST 2012


On Tue, Dec 25, 2012 at 12:55 AM, Sean Silva <silvas at purdue.edu> wrote:

> On Mon, Dec 24, 2012 at 4:55 PM, João Matos <ripzonetriton at gmail.com>
> wrote:
> > I've done something like this. I create a (fake) AST from the metadata in
> > .NET DLLs for an implementation of the C++/CLI standard.
>
> Very cool!
>
> Is this work open-source? I'd like to look at it if possible.
>
> -- Sean Silva
>

Sure, you can check it out at Github:
https://github.com/tritao/clang/blob/master/lib/Sema/SemaCLI.cpp

Maybe that will also give you some ideas Lionel.

-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121225/1bdc3e20/attachment.html>


More information about the cfe-dev mailing list