Xazax-hun wrote:
I do believe we want to get placeholder loans for more levels of indirection
eventually, but I also believe `lifetimebound` as defined today is not the
correct annotation for this code:
```
T *fn(T*& slot, ...) {
//...
return slot;
}
```
LB would ascertain to the reference, which is not correct. We need to
generalize annotations to make this example supported.
https://github.com/llvm/llvm-project/pull/239754
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits