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

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 7 11:41:29 PST 2013


Hello,

The attached patch removes the 'PrintInstantiation' feature from
DeclPrinter.  The motivation is that it does not actually belong to
the DeclPrinter and causes '-ast-print' to produce misleading results
(printing the code for implicit instantiations).

@Richard: CC'ing you since you added this feature in r136306.

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>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-decl-printer-print-instantiations-feature-v1.patch
Type: application/octet-stream
Size: 6513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130107/d421dcdb/attachment.obj>


More information about the cfe-commits mailing list