binutils-gdb/gdb/compile
Simon Marchi 6ac373717c gdb: rename type::{arch,objfile} -> type::{arch_owner,objfile_owner}
I think this makes the names of the methods clearer, especially for the
arch.  The type::arch method (which gets the arch owner, or NULL if the
type is not arch owned) is easily confused with the get_type_arch method
(which returns an arch no matter what).  The name "arch_owner" will make
it intuitive that the method returns NULL if the type is not arch-owned.

Also, this frees the type::arch name, so we will be able to morph the
get_type_arch function into the type::arch method.

gdb/ChangeLog:

	* gdbtypes.h (struct type) <arch>: Rename to...
	<arch_owner>: ... this, update all users.
	<objfile>: Rename to...
	<objfile_owner>: ... this, update all users.

Change-Id: Ie7c28684c7b565adec05a7619c418c69429bd8c0
2021-01-28 10:09:02 -05:00
..
compile-c-support.c Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-c-symbols.c Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-c-types.c gdb: rename type::{arch,objfile} -> type::{arch_owner,objfile_owner} 2021-01-28 10:09:02 -05:00
compile-c.h Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-cplus-symbols.c
compile-cplus-types.c gdb: rename type::{arch,objfile} -> type::{arch_owner,objfile_owner} 2021-01-28 10:09:02 -05:00
compile-cplus.h
compile-internal.h Remove call to reset from compile_to_object 2021-01-23 17:48:48 -07:00
compile-loc2c.c Avoid crash when "compile" expression uses cooked register 2021-01-23 20:33:25 -07:00
compile-object-load.c
compile-object-load.h
compile-object-run.c
compile-object-run.h
compile.c Remove call to reset from compile_to_object 2021-01-23 17:48:48 -07:00
compile.h Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
gcc-c-plugin.h
gcc-cp-plugin.h