Hi, I have written a custom RecursiveASTVisitor class according to the following link. http://clang.llvm.org/docs/RAVFrontendAction.html
Now I am giving clang source code to my frontend tool for analysis. The problem is for the test case llvm-3.8.1.src\tools\cfe-3.8.1.src\test\CXX\expr\expr.const\p2-0x.cpp >From the documentation of this test case, It is for undefined behaviour. But clang can generate its AST. And while running ClangTool on this test it throws stackoverflow exception even before the control comes in HandleTranslationUnit. I am really very confused about the control flow and why this exception is coming. Is this the expected behaviour. Then how to traverse the generated AST and visit the nodes. Thanks, Hemant Bhagat DISCLAIMER :- This e-mail may contain privileged and confidential information which is the property of Acellere GmbH and its associated companies. It is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Acellere GmbH and its associated companies does not accept any liability for virus infected mails.
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users