d: Fix line lengths after mechanical field renames.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 14 Jun 2020 09:42:01 +0000 (11:42 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 14 Jun 2020 09:45:52 +0000 (11:45 +0200)
gcc/d/ChangeLog:

* expr.cc (ExprVisitor::visit (AssocArrayLiteralExp *)): Fix line
lengths, no functional change.
* typeinfo.cc (TypeInfoVisitor::layout_interfaces): Likewise.
(layout_classinfo_interfaces): Likewise.

gcc/d/expr.cc
gcc/d/typeinfo.cc

index 41d97964dd3e9c7fe694df59805e0e19cdd25326..1940480f9c4da462d8e162883a2e015d8fa44411 100644 (file)
@@ -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));
index 1c5d669abf8850ff2ec0d5e1cc41c9c97c68ef8b..8249fa7c2e801af597c51066681e6098d441b488 100644 (file)
@@ -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);