[libcxx-commits] [libcxx] Add [[clang::lifetimebound]] to numerous functions in libc++ include headers (PR #112751)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 22 09:50:09 PDT 2024


higher-performance wrote:

> I think this could be interesting. Could you add a description of the benefit of this change? I know the linked issue explains it a bit, but it's good to have PRs be self-standing.

Done.

> Could you also add a couple of tests showing what kind of scenarios we're now diagnosing that we were not diagnosing before? That would make the benefits of this change more concrete.

Done.

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


More information about the libcxx-commits mailing list