mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 21:05:59 +01:00
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 {
| ^
```