<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 9 July 2016 at 16:13, Stephen Kelly via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">Jonathan Müller via cfe-dev wrote:<br>
<br>
> On 08.07.2016 22:38, David Come wrote:<br>
>> Just go for the C++ API : libtooling<br>
>><br>
>> You will have all you need.<br>
<br>
</span>You will not have compatibility between versions.<br>
<span class=""><br>
> So you're basically saying: the state of libclang is intentional, use<br>
> something else?<br>
<br>
</span>Jonathan, I have the same questions as you. I also have not encountered an<br>
authoritative answer.<br>
<br>
You might encounter the same problem I did if you want to determine the<br>
default values of method parameters:<br>
<br>
 <a href="http://thread.gmane.org/gmane.comp.compilers.clang.devel/48738" rel="noreferrer" target="_blank">http://thread.gmane.org/gmane.comp.compilers.clang.devel/48738</a><br>
<br>
Our solution is the same - try to parse the text ourselves because libclang<br>
and the python bindings do not expose it.<br>
<br></blockquote><div><br></div><div>I've written small extensions to libclang and to the python bindings to get a code generator I wrote working. If there is a small number of missing features maybe you could do the same?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hopefully there is a more authoritative answer about the state of libclang.<br>
<br>
Thanks,<br>
<br>
Steve.<br>
<div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>