From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1873) id 3EF76385DC00; Sun, 14 Jun 2020 09:51:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EF76385DC00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592128312; bh=YqkL2gAYbcGqH3s3SkapKBVicxzH8Ba2nDzNHPqCjnA=; h=From:To:Subject:Date:From; b=G87cmOt4nBT+fLpRCjZ+/hpTCnH+hmW/u2r3VWPyalWolEnWXFE5JJKnfDWbrlsb8 pYkiQ1wkeINvsN5NekSCGU15qYeBxNmbEZExdMcEOciAB783KR03mM8nM4P/lTdlVt Q0ofmPkl0Ki7HHn/PNYeWfMxmeuyid0a/WjrPA9w= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain Buclaw To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-1295] d: Fix line lengths after mechanical field renames. X-Act-Checkin: gcc X-Git-Author: Iain Buclaw X-Git-Refname: refs/heads/master X-Git-Oldrev: 4a557dc45650bbe500276680674afa18d291fdcc X-Git-Newrev: 275bef5fbae9d1e22885c581cfbe6fc5248ca8ad Message-Id: <20200614095152.3EF76385DC00@sourceware.org> Date: Sun, 14 Jun 2020 09:51:52 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2020 09:51:52 -0000 https://gcc.gnu.org/g:275bef5fbae9d1e22885c581cfbe6fc5248ca8ad commit r11-1295-g275bef5fbae9d1e22885c581cfbe6fc5248ca8ad Author: Iain Buclaw Date: Sun Jun 14 11:42:01 2020 +0200 d: Fix line lengths after mechanical field renames. gcc/d/ChangeLog: * expr.cc (ExprVisitor::visit (AssocArrayLiteralExp *)): Fix line lengths, no functional change. * typeinfo.cc (TypeInfoVisitor::layout_interfaces): Likewise. (layout_classinfo_interfaces): Likewise. Diff: --- gcc/d/expr.cc | 3 ++- gcc/d/typeinfo.cc | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/d/expr.cc b/gcc/d/expr.cc index 41d97964dd3..1940480f9c4 100644 --- a/gcc/d/expr.cc +++ b/gcc/d/expr.cc @@ -2820,7 +2820,8 @@ public: /* Generate: _d_assocarrayliteralTX (ti, keys, vals); */ tree keys = d_array_value (build_ctype (ta->index->arrayOf ()), - size_int (e->keys->length), build_address (akeys)); + size_int (e->keys->length), + build_address (akeys)); tree vals = d_array_value (build_ctype (ta->next->arrayOf ()), size_int (e->values->length), build_address (avals)); diff --git a/gcc/d/typeinfo.cc b/gcc/d/typeinfo.cc index 1c5d669abf8..8249fa7c2e8 100644 --- a/gcc/d/typeinfo.cc +++ b/gcc/d/typeinfo.cc @@ -451,7 +451,8 @@ class TypeInfoVisitor : public Visitor gcc_assert (voffset != 0u); value = build_offset (csym, size_int (voffset)); - CONSTRUCTOR_APPEND_ELT (v, size_int (1), size_int (id->vtbl.length)); + CONSTRUCTOR_APPEND_ELT (v, size_int (1), + size_int (id->vtbl.length)); CONSTRUCTOR_APPEND_ELT (v, size_int (2), value); } @@ -1218,7 +1219,8 @@ layout_classinfo_interfaces (ClassDeclaration *decl) if (id->vtbl.length && offset != ~0u) { - tree vtbldomain = build_index_type (size_int (id->vtbl.length - 1)); + tree vtbldomain + = build_index_type (size_int (id->vtbl.length - 1)); tree vtbltype = build_array_type (vtable_entry_type, vtbldomain); field = create_field_decl (vtbltype, NULL, 1, 1); @@ -1242,7 +1244,8 @@ layout_classinfo_interfaces (ClassDeclaration *decl) if (type == tinfo_types[TK_CLASSINFO_TYPE]) type = copy_aggregate_type (type); - tree vtbldomain = build_index_type (size_int (id->vtbl.length - 1)); + tree vtbldomain + = build_index_type (size_int (id->vtbl.length - 1)); tree vtbltype = build_array_type (vtable_entry_type, vtbldomain); tree field = create_field_decl (vtbltype, NULL, 1, 1);