Let checker depend on PPCallbacks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Let checker depend on PPCallbacks

Deep Majumder via cfe-dev
Hi all,

Is it possible to let a checker depend on a PPCallbacks implementation?  For
example, currently I've implemented a checker in a shared library which I load
and register via

extern "C"
void clang_registerCheckers(CheckerRegistry &registry) {
  registry.addChecker<Foobar>("foobar", "", "");

extern "C"
const char clang_analyzerAPIVersionString[] =

Prior running the checker I would like to register and run a PPCallbacks
implementation and pass the collected information to the checker.  Is there a
supposed way to accomplish that?

cfe-dev mailing list
[hidden email]