[cfe-dev] Parsing clang++ output

Jacob Carlborg doob at me.com
Mon Aug 22 12:26:39 PDT 2011


On 2011-08-22 21:06, Jonathan Sauer wrote:
> 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

Isn't the whole point of Clang to have APIs for this so parsing output 
isn't necessary?

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list