[cfe-commits] [PATCH] Add support for Decl::print() with AccessSpecDecl instance

Dmitri Gribenko gribozavr at gmail.com
Fri Aug 24 22:18:45 PDT 2012


On Fri, Aug 24, 2012 at 10:07 AM, Will Wilson <will at indefiant.com> wrote:
> Ah... I see support for testing DeclPrinter arrived a few days ago with
> r162245. I'll attempt to update the patch accordingly!

Yes, tests would be appreciated since DeclPrinter is already broken enough.

Currently tests for DeclPrinter test only "terse" mode, which doesn't
print class members.  You could add helper functions for the "normal"
mode and use them in tests for printing class bodies.

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