-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
featureThis labels new features and enhancements.This labels new features and enhancements.
Milestone
Description
Section 5.1 of the Checked C specification describes new cast operators for converting between pointers with different kinds of checking. It also describes changes to the existing C cast operator for checked pointer types.
Here are the proposed work items for this feature:
- Design for extending IR with new cast information.
- Implement IR extension for
dynamic_bounds_castand parsedynamic_bounds_cast<T>(e1),dynamic_bounds_cast<T>(e1, e2), anddynamic_bounds_cast<T>(e1, e2, e3). - Same as above but for
assume_bounds_cast. - Implement type checking rules for C-style casts involving checked pointer types. Work includes writing tests.
- Implement type checking rules for
dynamic_bounds_cast. Work includes writing tests. - Implement type checking rules for
assume_bounds_cast. Work includes writing tests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureThis labels new features and enhancements.This labels new features and enhancements.