]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.c
Convert more block functions to methods
authorTom Tromey <tom@tromey.com>
Tue, 17 Jan 2023 00:39:55 +0000 (17:39 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:05 +0000 (12:51 -0700)
commit3c45e9f915ae4aeab7312d6fc55a947859057572
treee5fb72d611406e485457ac45037a3676fa07cb45
parenta4dfe747564a5728da7c79ca2be3659148c87a49
Convert more block functions to methods

This converts block_scope, block_set_scope, block_using, and
block_set_using to be methods.  These are all done at once to make it
easier to also convert block_initialize_namespace at the same time.
This was mostly written by script.
13 files changed:
gdb/ada-lang.c
gdb/block.c
gdb/block.h
gdb/buildsym.c
gdb/cp-namespace.c
gdb/cp-support.c
gdb/d-namespace.c
gdb/dbxread.c
gdb/dwarf2/read.c
gdb/rust-lang.c
gdb/rust-lang.h
gdb/rust-parse.c
gdb/symtab.c