[cfe-dev] Status/Future of libclang

Stephen Kelly via cfe-dev cfe-dev at lists.llvm.org
Sat Jul 9 08:13:54 PDT 2016


Jonathan Müller via cfe-dev wrote:

> On 08.07.2016 22:38, David Come wrote:
>> Just go for the C++ API : libtooling
>>
>> You will have all you need.

You will not have compatibility between versions.

> So you're basically saying: the state of libclang is intentional, use
> something else?

Jonathan, I have the same questions as you. I also have not encountered an 
authoritative answer.

You might encounter the same problem I did if you want to determine the 
default values of method parameters:

 http://thread.gmane.org/gmane.comp.compilers.clang.devel/48738

Our solution is the same - try to parse the text ourselves because libclang 
and the python bindings do not expose it.

Hopefully there is a more authoritative answer about the state of libclang.

Thanks,

Steve.





More information about the cfe-dev mailing list