[libcxx-commits] [libcxx] [libc++] Add unsafe-buffer-usage attributes to span, vector, string and string_view (PR #119603)

Dana Jansens via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 6 11:02:10 PST 2025


https://github.com/danakj commented:

I am trying to understand the use case of not wanting hardening enabled in libc++ but wanting unsafe-buffer-usage warnings. This would seem to imply the use of some other containers library with safer APIs than then (unhardened) libc++, but then is libc++ being used still? And why not enable hardening? Did you have some specific use case in mind for this?

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


More information about the libcxx-commits mailing list