[cfe-dev] Implement Checker with LibTooling

Thien Tran via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 21 06:33:28 PDT 2020


Hi everyone,

I'm writing a C/C++ static analysis tool with LibTooling. The program walks
through the source code and searches for custom criterias. The program
works well but I still don't know how to implement Clang Checker into
LibTooling.

I'm reading the instruction "CLANG STATIC ANALYZER - A Checker Developer’s
Guide". Please tell me how to know/get the current CheckerContext in a
location of source code.

Thank you!

----------------
Best regards,
Thien Tran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200821/ca592352/attachment.html>


More information about the cfe-dev mailing list