Remove manual lifetime management from cli_interp
authorTom Tromey <tromey@adacore.com>
Fri, 24 Jun 2022 15:39:47 +0000 (09:39 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 18 Jul 2022 14:49:55 +0000 (08:49 -0600)
commit083aca0c8333fc24c6a65a03fca765bc13ee37c0
tree1b39eacd34918daf11346dbda8d8820eabccb7d6
parent66fd2c678e4bbd5855f0f09870862143a518bc58
Remove manual lifetime management from cli_interp

cli_interp manually manages its cli_out object.  This patch changes it
to use a unique_ptr, and also changes cli_uiout to be a private
member.
gdb/cli/cli-interp.c