diff options
author | Tom Tromey <tromey@adacore.com> | 2024-07-29 09:38:29 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-08-12 12:16:15 -0600 |
commit | 219036b4fa83d2d1ec7f2ee74938610adaf7b4cd (patch) | |
tree | 88310503e127902a0ce917de92cfe7ffb450790e /gdb/python | |
parent | a86cec1a6f5127fc66737f95c2ba7938a755b63f (diff) | |
download | binutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.zip binutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.tar.gz binutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.tar.bz2 |
Simplify typename_concat
This patch simplifies typename_concat, changing the return type and
removing the obstack allocation code. The latter is possible because
the only caller using this mode uses the name when creating a new
type, and 'new_type' copies the string to the appropriate obstack
anyway. It also changes typename_concat to use 'concat'. This change
lets us remove a mildly fragile macro as well.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions