Skip to content

Update the syntax of where clauses in the Checked C spec #966

Open
@secure-sw-dev-bot

Description

@secure-sw-dev-bot

This issue was copied from checkedc/checkedc-clang#967


Update the following in the section on where clause in the Checked C spec:

  1. Add the description of the new keyword _And that is used to separate two where clause facts:
where-clause:
  where-clause-fact [_And where-clause-fact]
  1. Update the syntax of the where-clause-fact to:
where-clause-fact:
  bounds-expression
  equality-expression equality-op equality-expression
  1. Add the syntax of equality-expression from the C11 spec:
equality-expression:
  relational-expression
  equality-expression == equality-expression
  equality-expression != equality-expression

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