[cfe-dev] FW: changing the lexer or parser
clattner at apple.com
Mon Sep 22 21:32:18 PDT 2008
On Sep 22, 2008, at 7:16 PM, b.j.burgers at student.utwente.nl wrote:
> I’m working on a tool that allows time construct in C. I implemented
> this tool by adapting Clang.
> I managed to do some code transformation, but I also like to add a
> header to the ‘#include’ list of the new file that contains the
> transformed code. What would be the easiest way to do this ?
The objc rewriter does this and more, have you perused it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev