[PATCH] Add warning capabilities in LLVM (backend part)

Dmitri Gribenko gribozavr at gmail.com
Fri Nov 15 18:26:08 PST 2013

On Fri, Nov 15, 2013 at 5:51 PM, Quentin Colombet <qcolombet at apple.com> wrote:
> Finally the reporting API would be:
> void LLVMContext::report(DiagnosticInfo *, Kind, Severity)
> The default message would be given by toStr().

I doubt that Clang will be using this API.  For example, Clang has a
feature to serialize all diagnostics to a file, and the easiest way to
make it work with this feature to just let all diagnostics flow
through the usual diagnostics engine.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the llvm-commits mailing list