[cfe-dev] Clang: get list of defined macro

GabrieleCocco cocco at di.unipi.it
Mon Oct 29 11:15:15 PDT 2012


Hi. 
Is there any way to get the list of defined Macros inside a parsed source
file using LibTooling?
I would like to use rewriter to add a define directive only if not defined
yet.

Thank you very much!



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Clang-get-list-of-defined-macro-tp4027815.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list