[cfe-dev] Help needed regarding modifying AST

sachin khot sachinkhot.com at gmail.com
Sun Feb 1 07:25:58 PST 2009


Hi,
 I am Sachin and I am trying to perform code refactoring on C code using
Clang. I am planning to do so by modifying the clang AST and then converting
it back to C code. (I tried to debug Clang and found that the AST is built
by the ParseAST() function call in ParseAST.cpp)
*Can somebody tell me which Clang APIs should I use to add nodes to current
AST?*


Thanks in advance,
Sachin



-- 
"When you dream, the whole universe conspires to help you achieve that
dream" -The Alchemist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090201/79da7e91/attachment.html>


More information about the cfe-dev mailing list