Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__capability should not be a keyword for non-CHERI targets #706

Open
arichardson opened this issue Jun 30, 2023 · 0 comments
Open

__capability should not be a keyword for non-CHERI targets #706

arichardson opened this issue Jun 30, 2023 · 0 comments
Labels
CHERI C semantics Engineering Work that is mostly about implementation of an idea. enhancement New feature or request

Comments

@arichardson
Copy link
Member

Currently using __capability for non-CHERI targets crashes the compiler (see #704), but realistically IdentifierTable::AddKeywords( should not add it in the first place and treat the token as an identifier for backwards compatibility.

This would require adding a new KEYCHERI to the keywords and a new CHERI flag to LangOptions.

@arichardson arichardson added enhancement New feature or request CHERI C semantics Engineering Work that is mostly about implementation of an idea. labels Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CHERI C semantics Engineering Work that is mostly about implementation of an idea. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant