Received: from eggs.gnu.org ([2001:4830:134:3::10]:53628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agp7t-0006JQ-R0 for qemu-devel@nongnu.org; Fri, 18 Mar 2016 03:47:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agp7o-0006WA-Qx for qemu-devel@nongnu.org; Fri, 18 Mar 2016 03:47:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agp7o-0006W4-Lw for qemu-devel@nongnu.org; Fri, 18 Mar 2016 03:47:12 -0400 From: Markus Armbruster References: <1458254921-17042-1-git-send-email-eblake@redhat.com> <1458254921-17042-17-git-send-email-eblake@redhat.com> Date: Fri, 18 Mar 2016 08:47:09 +0100 In-Reply-To: <1458254921-17042-17-git-send-email-eblake@redhat.com> (Eric Blake's message of "Thu, 17 Mar 2016 16:48:41 -0600") Message-ID: <87wpp0mdmq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 16/16] qapi: Consolidate object visitors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, Michael Roth Eric Blake writes: > Rather than having two separate visitor callbacks with items > already broken out, pass the actual QAPISchemaObjectType object > to the visitor. This lets the visitor access things like > type.is_implicit() without needing another parameter, resolving > a TODO from previous patches. > > For convenience and consistency, the 'name' and 'info' parameters > are still provided, even though they are now redundant with > 'typ.name' and 'typ.info'. > > Signed-off-by: Eric Blake $ for i in `git-ls-files tests/qapi-schema/\*.out`; do diff -q $i bld-x86/${i%.out}.test.out; done Files tests/qapi-schema/comments.out and bld-x86/tests/qapi-schema/comments.test.out differ Files tests/qapi-schema/empty.out and bld-x86/tests/qapi-schema/empty.test.out differ Files tests/qapi-schema/event-case.out and bld-x86/tests/qapi-schema/event-case.test.out differ Files tests/qapi-schema/ident-with-escape.out and bld-x86/tests/qapi-schema/ident-with-escape.test.out differ Files tests/qapi-schema/include-relpath.out and bld-x86/tests/qapi-schema/include-relpath.test.out differ Files tests/qapi-schema/include-repetition.out and bld-x86/tests/qapi-schema/include-repetition.test.out differ Files tests/qapi-schema/include-simple.out and bld-x86/tests/qapi-schema/include-simple.test.out differ Files tests/qapi-schema/indented-expr.out and bld-x86/tests/qapi-schema/indented-expr.test.out differ Files tests/qapi-schema/qapi-schema-test.out and bld-x86/tests/qapi-schema/qapi-schema-test.test.out differ > --- > v6: new patch Let's punt this one to a later iteration.