<div dir="ltr">On Wed, Sep 4, 2013 at 5:50 PM, Vadium <span dir="ltr"><<a href="mailto:vabrva@gmail.com" target="_blank">vabrva@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Faced the same error, was quite surprised...<br>
<br>
> With libclang you have less control than with libtooling, but libclang is<br>
<div class="im">> a higher abstraction and more stable interface.<br>
<br>
</div>And is there any way to get current ASTContext and LangOptions inside the<br>
tool?<br></blockquote><div><br></div><div>Yes: if you have a compilation database, the language options will be provided by the clang arguments used there; otherwise you can specify the options yourself. The idea is to use command line options, though.</div>
<div><br></div><div>Cheers,</div><div>/Manuel</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thank you,<br>
Vadim<br>
<br>
<br>
<br>
-----<br>
Since speech has been invented, people still can't understand each other.<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/CompilerInstance-and-C-tp4030731p4034239.html" target="_blank">http://clang-developers.42468.n3.nabble.com/CompilerInstance-and-C-tp4030731p4034239.html</a><br>

Sent from the Clang Developers mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>