Skip to content

[BoundsSafety] Make __single as a sugar type #13065

Description

@rapidsna

Currently, the downstream implementation makes __single part of the canonical type, but we may want to keep it as a sugar type (AttributedType) since it does not change the pointer representation or ABI. This way, sized_by/counted_by/terminated_by will no longer be internally marked as a "single" PointerType.

rdar://177980903

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

clang:bounds-safetyIssue relating to the experimental -fbounds-safety feature in Clang

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions