Implement P2590R2 Explicit Lifetime Management for Clang and EDG
Open
Nobody has claimed this yet.
compiler
enhancement
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 1.7k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 22
Description
Followup to #2942.
I'm implementing WG21-P2590R2 Explicit Lifetime Management for MSVC (as wrappers around the intrinsics implemented by @JonCavesMSFT in internal MSVC-PR-703299 on 2026-01-31). When the necessary builtins become available for Clang and EDG, we should finish the implementation.
- llvm/llvm-project#105234
- VSO-2846756 EDG needs to implement
__builtin_start_lifetime_asand__builtin_start_lifetime_as_arrayintrinsics
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with issue #2942 and track the linked llvm/llvm-project#105234 and the EDG implementation request for the listed lifetime intrinsics. The work is complete when Clang and EDG provide the required builtins and the STL implementation of P2590R2 is finished for those compilers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100