Hi!<br>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.<br>How can i hold the AST in memory ? should i use ParseAST function with my custom ASTConsumer what stores the Declarations ?<br>
Are the AST roots the TopLevelDecls ?<br>Who owns the top level decls ?<br><br>thanks for help<br><br>Cheers,<br>Csaba<br>