[cfe-dev] Parse a file without main function
manavender reddy
manavender.623 at gmail.com
Wed Aug 11 15:47:20 PDT 2010
Hi all,
I have just started using clang. And i was wondering is it possible to parse
a file (to construct AST,CFG) without a main function. I am having this
doubt because, the parseAST function
has a statment p.EnterMainSourceFile() and this will parse the file which
has a main function. I need to parse any C file with just function and not
main.
Thanks & Regards
Manavender
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100811/6734ab49/attachment.html>
More information about the cfe-dev
mailing list