|
22 | 22 | #include "__concepts.hpp" |
23 | 23 | #include "__config.hpp" |
24 | 24 | #include "__env.hpp" |
25 | | -#include "__optional.hpp" |
26 | 25 | #include "__receivers.hpp" |
27 | 26 |
|
28 | 27 | #include <exception> |
29 | | -#include <utility> |
30 | 28 |
|
31 | 29 | STDEXEC_PRAGMA_PUSH() |
32 | 30 | STDEXEC_PRAGMA_IGNORE_GNU("-Wsubobject-linkage") |
@@ -199,22 +197,22 @@ namespace STDEXEC |
199 | 197 |
|
200 | 198 | union |
201 | 199 | { |
202 | | - [[no_unique_address]] |
| 200 | + STDEXEC_ATTRIBUTE(no_unique_address) |
203 | 201 | __awaitable_t __awaitable_; |
204 | 202 | }; |
205 | 203 |
|
206 | 204 | union |
207 | 205 | { |
208 | | - [[no_unique_address]] |
| 206 | + STDEXEC_ATTRIBUTE(no_unique_address) |
209 | 207 | __awaiter_t __awaiter_; |
210 | 208 | }; |
211 | 209 | }; |
212 | 210 |
|
213 | | - [[no_unique_address]] |
| 211 | + STDEXEC_ATTRIBUTE(no_unique_address) |
214 | 212 | _Awaitable __source_awaitable_; |
215 | 213 | union |
216 | 214 | { |
217 | | - [[no_unique_address]] |
| 215 | + STDEXEC_ATTRIBUTE(no_unique_address) |
218 | 216 | __state __awaiter_; |
219 | 217 | }; |
220 | 218 |
|
@@ -277,16 +275,16 @@ namespace STDEXEC |
277 | 275 |
|
278 | 276 | union |
279 | 277 | { |
280 | | - [[no_unique_address]] |
| 278 | + STDEXEC_ATTRIBUTE(no_unique_address) |
281 | 279 | __awaiter_t __awaiter_; |
282 | 280 | }; |
283 | 281 | }; |
284 | 282 |
|
285 | | - [[no_unique_address]] |
| 283 | + STDEXEC_ATTRIBUTE(no_unique_address) |
286 | 284 | _Awaitable __source_awaitable_; |
287 | 285 | union |
288 | 286 | { |
289 | | - [[no_unique_address]] |
| 287 | + STDEXEC_ATTRIBUTE(no_unique_address) |
290 | 288 | __state __awaiter_; |
291 | 289 | }; |
292 | 290 |
|
@@ -348,16 +346,16 @@ namespace STDEXEC |
348 | 346 |
|
349 | 347 | union |
350 | 348 | { |
351 | | - [[no_unique_address]] |
| 349 | + STDEXEC_ATTRIBUTE(no_unique_address) |
352 | 350 | __awaiter_t __awaiter_; |
353 | 351 | }; |
354 | 352 | }; |
355 | 353 |
|
356 | | - [[no_unique_address]] |
| 354 | + STDEXEC_ATTRIBUTE(no_unique_address) |
357 | 355 | _Awaitable __source_awaitable_; |
358 | 356 | union |
359 | 357 | { |
360 | | - [[no_unique_address]] |
| 358 | + STDEXEC_ATTRIBUTE(no_unique_address) |
361 | 359 | __state __awaiter_; |
362 | 360 | }; |
363 | 361 |
|
@@ -389,7 +387,7 @@ namespace STDEXEC |
389 | 387 | { |
390 | 388 | // _Awaitable has neither a distinct awaiter, nor a distinct awaitable |
391 | 389 | // so we don't need separate storage for either |
392 | | - [[no_unique_address]] |
| 390 | + STDEXEC_ATTRIBUTE(no_unique_address) |
393 | 391 | _Awaitable __awaiter_; |
394 | 392 |
|
395 | 393 | template <__not_decays_to<__awaitable_state> _Awaitable2> |
@@ -534,11 +532,11 @@ namespace STDEXEC |
534 | 532 | } |
535 | 533 |
|
536 | 534 | __synthetic_coro_frame __synthetic_frame_{&__promise_t::__resume}; |
537 | | - [[no_unique_address]] |
| 535 | + STDEXEC_ATTRIBUTE(no_unique_address) |
538 | 536 | _Receiver __rcvr_; |
539 | 537 | [[neo_unique_addres]] |
540 | 538 | __awaitable_state<_Awaitable, __promise_t> __awaiter_; |
541 | | - [[no_unique_address]] |
| 539 | + STDEXEC_ATTRIBUTE(no_unique_address) |
542 | 540 | bool __started_{false}; |
543 | 541 | }; |
544 | 542 | } // namespace __connect_await |
|
0 commit comments