Skip to content

[IR] Missing assertion for empty range attribute #99619

@nikic

Description

@nikic

Per LangRef, range attributes cannot represent an empty range. However, this is currently only enforced in the IR parser, but there is neither an assertion nor verifier check otherwise. As such, you'll only notice this mistake when trying to round-trip through textual IR.

cc @andjo403

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions