| Issue | 169940 |
|---|---|
| Summary | Suggest [[clang::lifetimebound]] for function parameters of reference type |
| Labels | clang:temporal-safety |
| Assignees | |
| Reporter | usx95 |
```cpp
const int& Identity(const int& a) {
return a;
}
```
Suggest 'a' to be marked lifetimebound.
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
