[cfe-commits] r166130 - in /cfe/trunk: bindings/xml/comment-xml-schema.rng include/clang/AST/Comment.h include/clang/AST/PrettyPrinter.h lib/AST/Comment.cpp lib/AST/DeclPrinter.cpp test/Index/annotate-comments-availability-attrs.cpp test/Index/an

Dmitri Gribenko gribozavr at gmail.com
Thu Oct 18 11:01:28 PDT 2012

On Thu, Oct 18, 2012 at 8:25 PM, jahanian <fjahanian at apple.com> wrote:
> On Oct 18, 2012, at 10:21 AM, Douglas Gregor <dgregor at apple.com> 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.)


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the cfe-commits mailing list