From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C13F83858C60; Tue, 18 Jul 2023 23:20:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C13F83858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689722439; bh=vzWAhR/DoS3AnCSrCg98HNdDlhJfLFbkpJ5hkBqDFKw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=m6IyPyXPIjw/GyER1xxZE5OAayOhCS3PQ4hJfdUWjB6+5nOPzDqruFZ93jFjQfYPY LKVPHgr0fiMTNvT7l9H4R/vvOSrJxhHbZyCB3hqzGEehRccUmeYgRMyXiQb1mfQir+ lcLPccimAgUI0orskU56ek9+M3Zt09j65+hE22TM= From: "dblaikie at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/17272] DW_TAG_GNU_template_parameter_pack Date: Tue, 18 Jul 2023 23:20:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dblaikie at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17272 --- Comment #16 from David Blaikie --- For types you can't have more than one pack, I think: $ clang++-tot -std=3Dc++2a pack_type.cpp=20 pack_type.cpp:1:22: error: template parameter pack must be the last template parameter 1 | template | ^ 1 error generated. But you can have multiple packs in a function template - and I think it'd be good to represent it correctly - since there can be two functions, for instance, with the same parameters but packed differently (eg: `template void f1();` you could have `f1` where the int is in the first pack (and the second pack is empty)= or the other way around, and those are distinct overloads) --=20 You are receiving this mail because: You are on the CC list for the bug.=