aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.adb
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-06-11 17:01:57 +0100
committerIain Sandoe <iain@sandoe.co.uk>2020-06-11 19:27:17 +0100
commit1c140cfbfa4b465a29ef26f1fdfef04c671e3c9c (patch)
treea5c3210a32cd3780251af930292f7adb751f9133 /gcc/ada/sinfo.adb
parentb32eea9c0c25a03e77170675abc4e4bcab6d2b3b (diff)
downloadgcc-1c140cfbfa4b465a29ef26f1fdfef04c671e3c9c.zip
gcc-1c140cfbfa4b465a29ef26f1fdfef04c671e3c9c.tar.gz
gcc-1c140cfbfa4b465a29ef26f1fdfef04c671e3c9c.tar.bz2
coroutines: Handle lambda closure pointers like 'this'.
It was agreed amongst the implementors that the correct interpretation of the standard is that lambda closure pointers should be treated in the same manner as class object pointers. gcc/cp/ChangeLog: * coroutines.cc (instantiate_coro_traits): Pass a reference to lambda closure objects to traits instantiation. (morph_fn_to_coro): Likewise for promise parameter preview and allocator lookup.
Diffstat (limited to 'gcc/ada/sinfo.adb')
0 files changed, 0 insertions, 0 deletions