[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 10 07:10:37 PST 2024
================
@@ -978,6 +978,20 @@ bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) {
} else {
break;
}
+ // Pack indexing
+ if (getLangOpts().CPlusPlus26 && Tok.is(tok::ellipsis) &&
----------------
erichkeane wrote:
I'd suggested offline that we bring @ldionne in and see if he can make a case for doing so. However, this IS somewhat of a 'breaking change' for a minor case, so we have to balance that.
https://github.com/llvm/llvm-project/pull/72644
More information about the cfe-commits
mailing list