[cfe-dev] Keeping AST data for includes

Vladimir Kirillov proger at uaoug.org.ua
Tue Nov 2 06:52:51 PDT 2010


Hello, cfe-dev!

While processing big source code trees with ASTFrontendAction and custom
ASTConsumer, same include files are getting hit and parsed all over and
over again.
Is there any technique (except precompiled header) to prevent such
actions? Like keeping header-related AST data and referencing it within
next files' AST?


Thanks!



More information about the cfe-dev mailing list