aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-07-25 15:50:58 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2021-07-30 12:51:34 +0200
commit55303957de85fd4d0d529e7eeb1b67e29e4f98c5 (patch)
tree9499826440551adb9ef2ac61ce7d82ad5d58e713 /gcc/builtins.c
parent2730aa7809b47dce47ca0b5e51a6af2164335cf1 (diff)
downloadgcc-55303957de85fd4d0d529e7eeb1b67e29e4f98c5.zip
gcc-55303957de85fd4d0d529e7eeb1b67e29e4f98c5.tar.gz
gcc-55303957de85fd4d0d529e7eeb1b67e29e4f98c5.tar.bz2
d: Factor d_nested_class and d_nested_struct into single function.
Both do the exact same operation, just on different AST nodes. gcc/d/ChangeLog: * d-codegen.cc (d_nested_class): Rename to ... (get_outer_function): ... this. Handle all aggregate declarations. (d_nested_struct): Remove. (find_this_tree): Use get_outer_function. (get_framedecl): Likewise.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions