[libcxx-commits] [libcxx] [libc++] Mark std::unique_ptr::release() as nodiscard (PR #110847)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 2 08:09:38 PDT 2024


zmodem wrote:

In (Linux) Chromium we hit 116 instances 
([list.txt](https://github.com/user-attachments/files/17231515/list.txt)).
That's not an impossible number to fix, but it does suggest that this will be pretty noisy in the wild, so I'm not sure it's worth it?

https://github.com/llvm/llvm-project/pull/110847


More information about the libcxx-commits mailing list