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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 29 11:29:47 PDT 2024


https://github.com/ldionne commented:

FWIW, I like this as a general direction. I find it unfortunate that we have to add so many verbose annotations, but that's how attributes work and I don't see a better way of doing this, so that's not a blocker IMO. The annotations are all very mechanical so while they add visual clutter, they at least don't add complexity.

I think this is worth it given the diagnostics we're getting. You should make this a non-draft when you're ready to get other people's view on the change.

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


More information about the libcxx-commits mailing list