[cfe-dev] Question about rewriter.

Danya Berezun danya.berezun at gmail.com
Sun Dec 8 03:19:27 PST 2013


I'm trying to rewrite all DeclStmt-s in which type of variable in VarDecl
is a pointer type and rewrite all operator new calls. I know that I can
iterate all VarDecl-s by traversing AST and replace such statements, but
how to get theirs types and names?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131208/70c9f2b4/attachment.html>

More information about the cfe-dev mailing list