David Blaikie
99f910f179
Correctly model NRVO returns ( #7865 )
...
The AST doesn't really matter here, since it's NRVO, there's no actual
code to generate to return the value. But having a correct AST does
address at least one clang false-positive diagnostic:
```
error: stack memory associated with local variable 'return_storage' is returned
3 | fn F() -> bool {
| ^
```
2026-09-29 21:06:48 +00:00
..
2026-06-07 16:27:22 +00:00
2026-06-07 16:27:22 +00:00
2026-09-22 15:04:40 +00:00
2026-06-07 16:27:22 +00:00
2026-09-02 20:28:05 +00:00
2026-06-07 16:27:22 +00:00
2026-09-02 17:35:31 +00:00
2026-08-06 13:32:37 +00:00
2025-09-17 09:31:36 +00:00
2025-09-17 09:31:36 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-09-29 21:06:48 +00:00
2026-09-18 18:08:53 +00:00
2026-09-17 23:50:28 +00:00
2026-08-06 13:32:37 +00:00
2026-09-24 00:06:28 +00:00
2026-09-15 21:23:28 +00:00
2026-09-29 20:40:39 +00:00
2026-08-07 16:10:01 +00:00
2026-07-24 20:14:50 +00:00
2026-07-24 20:14:50 +00:00
2026-08-19 00:47:03 +00:00
2026-07-31 20:09:03 +00:00
2026-09-24 00:06:28 +00:00
2026-06-11 21:49:20 +00:00
2026-09-18 19:12:05 +00:00
2026-06-07 16:27:22 +00:00
2026-06-05 20:49:34 +00:00
2025-11-13 17:04:58 +00:00
2026-08-07 16:10:01 +00:00
2025-12-15 17:45:01 +00:00