We do refactoring of objective-c to c. You can look at Driver/ 
RewriteTest.cpp to see one such refactoring.

- Fariborz

On Jan 31, 2008, at 1:03 PM, Csaba Hruska wrote:

> 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
> _______________________________________________
> cfe-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to