PrinterHelper in StmtPrinter not called for all compounds

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PrinterHelper in StmtPrinter not called for all compounds

Richard Smith via cfe-dev
Hi list,

I've just noticed, that in AST/StmtPrinter.cpp some CompoundStmts are directly printed via PrintRawCompoundStmt (e.g. the if/else-Stmts in IfStmt). For these compounds PrinterHelper::handledStmt is not called. Is this behavior intended?

Best Olaf

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev