<div dir="ltr"><div><div>Sorry, this turned out to be a rather trivial problem.<br></div>I forgot to force C++ as the language being parsed.<br><br></div><div>So, seeing errors like <unknown type 'namespace'>, I sort of panicked!<br>
</div><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 1:01 AM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In article <lmnqj7$cql$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>>,<br>
<div class=""> Jacob Carlborg <<a href="mailto:doob@me.com">doob@me.com</a>> writes:<br>
<br>
> I see. I don't use a compilation database for my tool. I'm using<br>
> libclang and the tool is intended to process header files. Works<br>
> perfectly fine.<br>
<br>
</div>Yes, I don't think this is a limitation of the library so much as some<br>
of the tooling classes expect a compilation database specified as a<br>
command-line argument. While preparing for my C++ Now! 2014<br>
presentation, I discovered that even in this case it may be possible<br>
to specify the actual compile command on the command-line to the tool<br>
and separate it from other arguments with --. However, this depends<br>
on specific support for this from the tool and not every tool may<br>
support this (although if they immitated remove-cstr-calls, then they<br>
would have it).<br>
<div class="im HOEnZb">--<br>
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" target="_blank">http://tinyurl.com/d3d-pipeline</a>><br>
The Computer Graphics Museum <<a href="http://ComputerGraphicsMuseum.org" target="_blank">http://ComputerGraphicsMuseum.org</a>><br>
The Terminals Wiki <<a href="http://terminals.classiccmp.org" target="_blank">http://terminals.classiccmp.org</a>><br>
Legalize Adulthood! (my blog) <<a href="http://LegalizeAdulthood.wordpress.com" target="_blank">http://LegalizeAdulthood.wordpress.com</a>><br>
</div><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>