[libcxx-commits] [libcxx] [libcxx] Remove TODO related to dead_on_return (PR #194264)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 5 06:36:07 PDT 2026


https://github.com/philnik777 requested changes to this pull request.

The adverse effect here is that it increases complexity. That's especially problematic in `string`, which is probably the most complex class in the whole code base implementation-wise. I'm also not sure why use-after-destroys wouldn't be detected anymore, since the compiler now knows that the contents of the string aren't to be touched anymore.

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


More information about the libcxx-commits mailing list