[libcxx-commits] [libcxx] [libcxx] Remove Redundant Reset in ~basic_string (PR #164718)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 22 15:55:08 PDT 2025


philnik777 wrote:

I guess what I'm asking is that either clang automatically annotates the this pointer in a destructor as `dead_on_return` or it is exposed as an attirbute by Clang so we can annotate destructors manually (which we would probably want to do for every destructor in the library for better or worse).

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


More information about the libcxx-commits mailing list