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

GabrieleCocco cocco at di.unipi.it
Tue Oct 30 09:32:18 PDT 2012


I may argue the problem is due to the fact that function calls results from
macro expansion and Rewriter seems to work on an unexpanded source.
If I try to remove a classic CallExpr, it works fine (except it doesn't
remove the semicolon at the end).
It would be good to have the chance to do marco expansion giving code to the
rewriter.
But I might be wrong.



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



More information about the cfe-dev mailing list