[llvm-dev] Is there a C++ API for libclang to have full access to the AST ?

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Tue Jun 25 15:14:29 PDT 2019


I recently added libclang_shared which exports the Clang C++ APIs, however it does not export the libClang C APIs. If all you care about is the Clang C++ APIs for working with ASTs, it will probably meet your needs.

-Chris

> On Jun 25, 2019, at 8:43 AM, Doerfert, Johannes via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi Steven,
> 
> I recommend asking this again on the Clang list (cfe-dev at lists.llvm.org).
> 
> Cheers,
>  Johannes
> 
> ________________________________________
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Steven Truppe via llvm-dev <llvm-dev at lists.llvm.org>
> Sent: Tuesday, June 25, 2019 07:55
> To: Steven Truppe via llvm-dev
> Subject: [llvm-dev] Is there a C++ API for libclang to have full access to      the AST ?
> 
> Hi everyone,
> 
> 
> i want to use libclang to create my own AST and use a node system like
> houdini is using to write own programms with a graphical interface.
> 
> 
> But libclang does not give full access to the AST - i need to build my
> own AST and need full access.
> 
> Since there are no books about libclang i hope someone here can point me
> in the right direction...
> 
> 
> best regards,
> 
> Steven Truppe
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list