From ad1a65fcacda8794e2f1fa3e1dec1c1b7813422c Mon Sep 17 00:00:00 2001 From: cor3ntin Date: Sat, 27 Jan 2024 10:23:38 +0100 Subject: [Clang][C++26] Implement Pack Indexing (P2662R3). (#72644) Implements https://isocpp.org/files/papers/P2662R3.pdf The feature is exposed as an extension in older language modes. Mangling is not yet supported and that is something we will have to do before release. --- clang/lib/CodeGen/CodeGenFunction.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 2673e4a..1ad9050 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2407,6 +2407,7 @@ void CodeGenFunction::EmitVariablyModifiedType(QualType type) { case Type::Decltype: case Type::Auto: case Type::DeducedTemplateSpecialization: + case Type::PackIndexing: // Stop walking: nothing to do. return; -- cgit v1.1