[cfe-dev] A small example on how to initiate header search and configure CFG from an already formed AST.

Parijat Banerjee parijat.pcr at gmail.com
Mon Sep 13 05:26:44 PDT 2010


Since clang branch 2.7 onwards the InitHeaderSearch and InitPreprocessor
seem to have been removed from the include library ( to be replaced by
HeaderSearchOptions) . It will be really helpful if someone can demonstrate
via a small piece of code - how to initiate search paths of header files
included in a file you want to parse ( which previously was done by
InitHeaderSearch )

Also can someone give a small snippet of code to demonstrate forming a CFG
class( branch 2.7 + )  given an already formed ASTContext class and maybe a
RecursiveASTVisitor to traverse the AST .


Thanks and Regards ,
Parijat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100913/cac000c0/attachment.html>


More information about the cfe-dev mailing list