diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-25 15:50:58 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-30 12:51:34 +0200 |
commit | 55303957de85fd4d0d529e7eeb1b67e29e4f98c5 (patch) | |
tree | 9499826440551adb9ef2ac61ce7d82ad5d58e713 /gcc/d/expr.cc | |
parent | 2730aa7809b47dce47ca0b5e51a6af2164335cf1 (diff) | |
download | gcc-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/d/expr.cc')
0 files changed, 0 insertions, 0 deletions