llvm / llvm/llvm-project

[Clang] Implement CWG 3043 (support for lifetime extension in enumerating expansion statements)

Open
#207,777 2 comments 0 reactions 1 assignee Claimed by @Sirraide View on GitHub
c++26 clang cwg-issue
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

From my testing, this will end up being quite a bit of code because we need to apply lifetime extension individually to each ‘subexpression’ in the _expansion-initializer_. See https://github.com/llvm/llvm-project/pull/169680#issuecomment-4093665027 for more information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.