[cfe-dev] Failure to rewrite code using clang plugin

Miklos Vajna via cfe-dev cfe-dev at lists.llvm.org
Tue May 3 09:36:46 PDT 2016


On Tue, May 03, 2016 at 12:08:55PM -0300, Pablo Oliva <pablo.oliva at tallertechnologies.com> wrote:
> What I want to do is to modify the source code (using a plugin) during
> compilation, and then proceed with the compilation of the modified source
> code. Is this possible?

Ah, I see. I've only seen that happening so far only in two passes:
first a rewriter one, then a separate compiler invocation to actually
compile the modified code.

But perhaps others managed to do that in one pass. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160503/45fb1bb6/attachment.sig>


More information about the cfe-dev mailing list