[cfe-commits] If statement pretty printing

Ben Lickly blickly at eecs.berkeley.edu
Thu Feb 5 16:39:42 PST 2009


Is there any reason why the StmtPrinter.cpp doesn't put parenthesis
around the condition of an if statement when using -ast-print?  If
not, here is a patch to add them in.

Thanks,
~Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifstmt-parens-for-astprint.patch
Type: text/x-patch
Size: 1005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090205/02b27a0b/attachment.bin>


More information about the cfe-commits mailing list