[RFA v2 3/6] Reindent type_object_getset in py-type.c

Pedro Alves palves@redhat.com
Fri Apr 27 18:47:00 GMT 2018


On 04/27/2018 03:01 PM, Tom Tromey wrote:
> I noticed that type_object_getset was indented incorrectly.  This
> fixes it.
> 

...

>  static gdb_PyGetSetDef type_object_getset[] =
>  {
> -  { "code", typy_get_code, NULL,
> -    "The code for this type.", NULL },
> -  { "name", typy_get_name, NULL,
> -    "The name for this type, or None.", NULL },
> -  { "sizeof", typy_get_sizeof, NULL,
> -    "The size of this type, in bytes.", NULL },
> -  { "tag", typy_get_tag, NULL,
> -    "The tag name for this type, or None.", NULL },
> -  { NULL }
> + { "code", typy_get_code, NULL,
> +   "The code for this type.", NULL },
> + { "name", typy_get_name, NULL,
> +   "The name for this type, or None.", NULL },
> + { "sizeof", typy_get_sizeof, NULL,
> +   "The size of this type, in bytes.", NULL },
> + { "tag", typy_get_tag, NULL,
> +   "The tag name for this type, or None.", NULL },
> + { NULL }
>  };

Hmm, AFAICT this is currently indented like other similar
arrays.  My emacs seems to agree with the current alignment
too.  Isn't two spaces the usual?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list