[cfe-dev] Code Refactoring

madil90 madil90 at gmail.com
Thu Feb 7 14:13:48 PST 2013

   I need to do some code refactoring. I am basically trying to find all
"#include " statements (check for duplicates and add a few of my own etc). I
tried to parse the AST but I realized that the preprocessor has already
converted these statements (to code). Is there any FrontendAction that I can
invoke allowing me to detect and stop at these statements?

View this message in context: http://clang-developers.42468.n3.nabble.com/Code-Refactoring-tp4030369.html
Sent from the Clang Developers mailing list archive at Nabble.com.

More information about the cfe-dev mailing list