aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-08-14 11:22:58 -0600
committerTom Tromey <tromey@adacore.com>2024-08-15 10:14:37 -0600
commitd47600c85d26176cc7030da78f8cfc6e98bcfbbf (patch)
tree13954325667b4bd371453bed04c99decb1185d93 /gas/testsuite
parent5c8f918639f1df77599c50fddfdfe23a2e3cbf35 (diff)
downloadgdb-d47600c85d26176cc7030da78f8cfc6e98bcfbbf.zip
gdb-d47600c85d26176cc7030da78f8cfc6e98bcfbbf.tar.gz
gdb-d47600c85d26176cc7030da78f8cfc6e98bcfbbf.tar.bz2
Add another constructor to scoped_restore_current_language
While working on something else, I noticed that this is relatively common: scoped_restore_current_language save; set_language (something); This patch adds a second constructor to scoped_restore_current_language to simplify this idiom. Reviewed-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gas/testsuite')
0 files changed, 0 insertions, 0 deletions