commit | 219036b4fa83d2d1ec7f2ee74938610adaf7b4cd | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Mon Jul 29 09:38:29 2024 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Mon Aug 12 12:16:15 2024 -0600 |
tree | 88310503e127902a0ce917de92cfe7ffb450790e | |
parent | a86cec1a6f5127fc66737f95c2ba7938a755b63f [diff] |
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>