[cfe-dev] Macro expansion in the Rewriter?

Robert Ankeney rrankene at gmail.com
Mon Nov 26 16:08:45 PST 2012

I have seen requests for help using the Rewriter, and a number of times
there are problems with macro expansions, especially when performing things
like instrumentation.  Would it make sense (or even be feasible) to add an
option to the Rewriter to automatically expand a macro when a rewrite
happens with a SourceLocation that is within the macro?  It seems like
there are times with other refactoring when this could be a useful option.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121126/086ef59b/attachment.html>

More information about the cfe-dev mailing list