diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-11 17:01:57 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-11 19:27:17 +0100 |
commit | 1c140cfbfa4b465a29ef26f1fdfef04c671e3c9c (patch) | |
tree | a5c3210a32cd3780251af930292f7adb751f9133 /gcc/tree-vect-loop-manip.c | |
parent | b32eea9c0c25a03e77170675abc4e4bcab6d2b3b (diff) | |
download | gcc-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/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions