Skip to content

Support expanding builtin packs in more context #154965

@ilya-biryukov

Description

@ilya-biryukov

Builtin pack expansions introduced in #106730 can only be expanded in template arguments and bases right now.
This limitation should be lifted by introducing the relevant code paths. For a list of examples see

// The following cases are not supported yet, should produce an error.

For the code changes necessary, see how template arguments and bases are handled in #106730.
We might also have the opportunity to reduce the code duplication from expanding template packs in most places in the code, although this would be a stretch outcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions