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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 24 05:13:06 PDT 2025


tazjin wrote:

> Is this with a recent compiler?

Not quite, we're on clang `18.1.8` right now. We have started work on moving to 20.x, but this requires fixing a bunch of issues (such as bugs detected due to the new compiler logic for lifetimes of `string_view` constructors etc.) and is a few months away.

I'm aware that there were lots of related changes in clang 20. Once we get to that version I'm happy to re-run the checks and report back, right now it might be too noisy.

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


More information about the libcxx-commits mailing list