[cfe-dev] getting at the compiler error messages array?
Pedro Ferreira
Pedro.Ferreira at imgtec.com
Tue Oct 19 01:34:49 PDT 2010
> -----Original Message-----
> From: cfe-dev-bounces at cs.uiuc.edu
> [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Paul Griffiths
> Sent: 19 October 2010 09:24
> To: cfe-dev at cs.uiuc.edu
> Subject: [cfe-dev] getting at the compiler error messages array?
>
> Ive added clang to my music application to compile audio plugins.
> Using the interpreter example as a base code, how do I get to
> the error messages array buffer so can add the messages to my
> code compiler window?
>
> Thanks.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
Check the Diagnostics section of Doxygen, in particular, the
DiagnosticClient
http://clang.llvm.org/doxygen/classclang_1_1DiagnosticClient.html
Remember you can create your own to suit your own format. Pass the
DiagnosticClient to your compiler instance.
More information about the cfe-dev
mailing list