gdb: fix indentation of struct field_info

The indentation is off, fix it before doing other changes.

gdb/ChangeLog:

	* dwarf2/read.c (struct field_info): Fix indentation.

Change-Id: Ife6a3d017abcf0a33e49e47e51429e95d504343c
This commit is contained in:
Simon Marchi
2020-08-31 21:05:37 -04:00
parent 6a42ec96ca
commit 2de01bdb2e
2 changed files with 37 additions and 33 deletions
+4
View File
@@ -1,3 +1,7 @@
2020-08-31 Simon Marchi <simon.marchi@polymtl.ca>
* dwarf2/read.c (struct field_info): Fix indentation.
2020-08-31 Simon Marchi <simon.marchi@efficios.com>
* frame-unwind.h (frame_prev_register_ftype): Fix adjective
+33 -33
View File
@@ -1190,40 +1190,40 @@ struct fnfieldlist
pass lists of data member fields and lists of member function fields
in an instance of a field_info structure, as defined below. */
struct field_info
{
/* List of data member and baseclasses fields. */
std::vector<struct nextfield> fields;
std::vector<struct nextfield> baseclasses;
/* Set if the accessibility of one of the fields is not public. */
int non_public_fields = 0;
/* Member function fieldlist array, contains name of possibly overloaded
member function, number of overloaded member functions and a pointer
to the head of the member function field chain. */
std::vector<struct fnfieldlist> fnfieldlists;
/* typedefs defined inside this class. TYPEDEF_FIELD_LIST contains head of
a NULL terminated list of TYPEDEF_FIELD_LIST_COUNT elements. */
std::vector<struct decl_field> typedef_field_list;
/* Nested types defined by this class and the number of elements in this
list. */
std::vector<struct decl_field> nested_types_list;
/* If non-null, this is the variant part we are currently
reading. */
variant_part_builder *current_variant_part = nullptr;
/* This holds all the top-level variant parts attached to the type
we're reading. */
std::vector<variant_part_builder> variant_parts;
/* Return the total number of fields (including baseclasses). */
int nfields () const
{
/* List of data member and baseclasses fields. */
std::vector<struct nextfield> fields;
std::vector<struct nextfield> baseclasses;
/* Set if the accessibility of one of the fields is not public. */
int non_public_fields = 0;
/* Member function fieldlist array, contains name of possibly overloaded
member function, number of overloaded member functions and a pointer
to the head of the member function field chain. */
std::vector<struct fnfieldlist> fnfieldlists;
/* typedefs defined inside this class. TYPEDEF_FIELD_LIST contains head of
a NULL terminated list of TYPEDEF_FIELD_LIST_COUNT elements. */
std::vector<struct decl_field> typedef_field_list;
/* Nested types defined by this class and the number of elements in this
list. */
std::vector<struct decl_field> nested_types_list;
/* If non-null, this is the variant part we are currently
reading. */
variant_part_builder *current_variant_part = nullptr;
/* This holds all the top-level variant parts attached to the type
we're reading. */
std::vector<variant_part_builder> variant_parts;
/* Return the total number of fields (including baseclasses). */
int nfields () const
{
return fields.size () + baseclasses.size ();
}
};
return fields.size () + baseclasses.size ();
}
};
/* Loaded secondary compilation units are kept in memory until they
have not been referenced for the processing of this many