[cfe-dev] Trace preprocessor

András Müller via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 22 06:01:17 PST 2017


Hi All!

I’m working on a tool as my thesis to let clang trace preprocessor events
(macro expansions for example). I’ve seen in the source code that the
PPCallbacks class seems very good to start with, but I am still wondering
about where to put my code. There are three options on clang’s website
(LibClang, Clang Plugins, LibTooling) but their intentions don’t really
match my tool’s in my interpretation. Or if I put it directly to the
compiler where would be the best?

Best regards,
András
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170222/4c2a2f37/attachment.html>


More information about the cfe-dev mailing list