[cfe-dev] Parsing clang++ output

Jonathan Sauer jonathan.sauer at gmx.de
Mon Aug 22 12:06:55 PDT 2011


Hello,

> Just out of interest, is there either computer-readable clang++ output, any guarantee that clang++'s output won't change substantially (do I have to worry about other languages?), or any text editors / projects that have already started doing this that anyone knows about?

XCode 3.2 and higher (for Mac OS) parse clang's output to provide the user with a list of errors. As far as I can see,
it simply parses clang's output (I'm using XCode 3.2.6 with clang trunk).

It seems that Code::Blocks (which is OpenSource) has or is in the process of getting clang support:
<http://forums.codeblocks.org/index.php?topic=11268.0> There also a VIM and EMacs support for clang, using it for
code completion: <http://stackoverflow.com/questions/2487931/llvm-c-ide-for-windows/4056895#4056895>

I do not know whether clang's output is mostly fixed, though.


Hope that helps,
Jonathan





More information about the cfe-dev mailing list