Inline expression constructor
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:43 +0000 (07:28 -0700)
commitb9d06571f9d1c39edb0d3e976ff78586d7c436b0
treeabc7da1b3279073cfe1385fddd1f4fdcf45a2b23
parent79ab486e97be04fb719b3ef91ea3e2b3c9c345c8
Inline expression constructor

The struct expression constructor no longer does any real work, so
this inlines it.  The default destructor can also be used now as well.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* parse.c (expression::expression, expression::~expression):
Remove.
* expression.h (struct expression): Inline constructor.  Remove
destructor.
gdb/ChangeLog
gdb/expression.h
gdb/parse.c