Remove varobj_item typedef
While working on some minor varobj cleanups, I noticed this obvious one: the varobj_item typedef isn't redundant in C++, and so can be removed. gdb/ChangeLog 2020-10-20 Tom Tromey <tom@tromey.com> * varobj-iter.h (struct varobj_item): Remove typedef.
This commit is contained in:
parent
646cc3e010
commit
ad523d014c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2020-10-20 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* varobj-iter.h (struct varobj_item): Remove typedef.
|
||||
|
||||
2020-10-20 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* infrun.c (currently_stepping): Change int to bool
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
|
||||
/* A node or item of varobj, composed of the name and the value. */
|
||||
|
||||
typedef struct varobj_item
|
||||
struct varobj_item
|
||||
{
|
||||
/* Name of this item. */
|
||||
std::string name;
|
||||
|
||||
/* Value of this item. */
|
||||
struct value *value;
|
||||
} varobj_item;
|
||||
};
|
||||
|
||||
struct varobj_iter_ops;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue