On Thu, Oct 18, 2012 at 8:25 PM, jahanian <[email protected]> wrote:
>
> On Oct 18, 2012, at 10:21 AM, Douglas Gregor <[email protected]> wrote:
>> The declaration printer is going to need a lot of work. We'll need to have 
>> tests for essentially every kind of AST node.
>
> Yes, this is wip. Test annotate-comments.cpp already has many of them. I need 
> to start writing unit tests.

Just wanted to point out that for decl printer tests I started
unittests/AST/DeclPrinterTest.cpp so that we can test decl printer
directly without going through comment machinery.  (And producing
unmaintainable tests like annotate-comments.cpp.)

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]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to