hokein wrote:

After further testing, this change introduces a new false positive -- we emit a 
return-stack-address warning for the following case, this is not correct.

```
std::vector<std::string_view> kk() {
  std::vector<std::string_view> s;
  return s;
}
```

Looking now.

https://github.com/llvm/llvm-project/pull/107213
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to