[cfe-dev] How do I implement Diagnostic Callbacks?

Manasij Mukherjee manasij7479 at gmail.com
Mon Apr 28 11:37:23 PDT 2014


Hi everyone,
I want my callback to be executed whenever clang tries to report an
undeclared identifier.
This callback can potentially trigger another note or fixit diagnostic.

If I have access to a clang::CompilerInstance Object, how do I set this
kind of system up?

I would also like to know possible alternatives for achieving this.
Manasij Mukherjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140429/6d6a95fb/attachment.html>


More information about the cfe-dev mailing list