<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/5/14 Rajendra <span dir="ltr"><<a href="mailto:rks@cse.iitb.ac.in" target="_blank">rks@cse.iitb.ac.in</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

if (strcmp(s->getStmtClassName(), "LabelStmt") == 0)</blockquote></div><br>Ough, don't do this. Use llvm::isa<> and llvm::dyn_cast<>.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Another idea: I think you're supposed to call the base class' VisitStmt method after you're done with your custom logic. Try doing that instead of returning with just true.</div></div>