usx95 wrote:

We were seeing a false positive of the form:
```cpp
const char* get(std::string_view s) { 
  return s.data();
}
```
I have revised the tracking to also make the analysis "see through" the views 
in such cases.

https://github.com/llvm/llvm-project/pull/174741
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to