[cfe-commits] [PATCH] Remove 'PrintInstantiation' feature from DeclPrinter

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 7 13:06:42 PST 2013


On Mon, Jan 7, 2013 at 11:05 PM, Richard Trieu <rtrieu at google.com> wrote:
> I don't understand your reasons for removing this code.  It was specifically
> added so that template instantiations would be outputted with -ast-dump.
> Why do you consider printing instantiations misleading?

It prints something that is not written in the source code.

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 <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list