[cfe-dev] using clang for refactoring tool

Csaba Hruska csaba.hruska at gmail.com
Thu Jan 31 13:03:56 PST 2008


Hi!
I'm not new to clang, but i still need some help. I'd like to  develop a
simple (interactive) refactoring tool, and i've checked the clang AST API.
How can i hold the AST in memory ? should i use ParseAST function with my
custom ASTConsumer what stores the Declarations ?
Are the AST roots the TopLevelDecls ?
Who owns the top level decls ?

thanks for help

Cheers,
Csaba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080131/093abb37/attachment.html>


More information about the cfe-dev mailing list