Skip to content

Add sugar types for pack-indexed builtins #154964

@ilya-biryukov

Description

@ilya-biryukov

#106730 added the __builtin_dedup_pack, but it lacks some sugar after substitution, see the FIXME

// FIXME: add ability to represent sugarred type for N-th element of a

We need to be careful to make the resulting operations linear and avoid quadratic compile times as in #153431.
Otherwise sharing the common data and concepts with PackIndexingType should be beneficial for this, see

class PackIndexingType final

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions