On Fri, May 3, 2013 at 8:07 PM, Joe Sprowes <[email protected]> wrote:
> This patch allows suppression of implicit cast when pretty printing the AST.
> For example:
>
> i = a.operator int();

I'd prefer not to add yet another flag to the printing policy.
Unfortunately, skipping printing conversion operators changes CFG dump
output, which I am not familiar with.

Jordan, could you please take a look at the attached patch?

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/

Attachment: dont-print-conv-operator-v1.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to