diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-11-03 05:08:18 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-11-03 05:16:31 -0800 |
commit | fbc3f847438f2297c31d9eaaec5e662192acb779 (patch) | |
tree | 4606279cbb1dc8de0467634e9bf7af68a6288343 /gcc/fold-const.c | |
parent | 918e8b10a716ec720215afafb7baa1b9b75e4fa1 (diff) | |
download | gcc-fbc3f847438f2297c31d9eaaec5e662192acb779.zip gcc-fbc3f847438f2297c31d9eaaec5e662192acb779.tar.gz gcc-fbc3f847438f2297c31d9eaaec5e662192acb779.tar.bz2 |
c++: rtti cleanups
Here are a few cleanups from the modules branch. Generally some RAII,
and a bit of lazy namespace pushing.
gcc/cp/
* rtti.c (init_rtti_processing): Move var decl to its init.
(get_tinfo_decl): Likewise. Break out creation to called helper
...
(get_tinfo_decl_direct): ... here.
(build_dynamic_cast_1): Move var decls to their initializers.
(tinfo_base_init): Set decl's location to BUILTINS_LOCATION.
(get_tinfo_desc): Only push ABI namespace when needed. Set type's
context.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions