aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2022-05-31 13:22:06 -0700
committerNathan Sidwell <nathan@acm.org>2022-06-01 07:31:34 -0700
commitc4d702fb3c1e2f6e1bc8711da81bff59543b1b19 (patch)
treea8f31d00c007495dd686b09d74ff7f6ef7a4174d /gcc/ada
parentee21974c8ecbbaa2a1d44f2dba873f8724ed9ad4 (diff)
downloadgcc-c4d702fb3c1e2f6e1bc8711da81bff59543b1b19.zip
gcc-c4d702fb3c1e2f6e1bc8711da81bff59543b1b19.tar.gz
gcc-c4d702fb3c1e2f6e1bc8711da81bff59543b1b19.tar.bz2
c++: Cleanup static init generation
The static init/fini generation is showing some bitrot. This cleans up several places to use C++, and also take advantage of already having checked a variable for non-nullness. gcc/cp/ * decl2.cc (ssdf_decl): Delete global. (start_static_storage_duration_function): Use some RAII. (do_static_initialization_or_destruction): Likewise. (c_parse_final_cleanups): Likewise. Avoid rechecking 'vars'.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions