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

Determine checked scopes per statement #1141

Closed
secure-sw-dev-bot opened this issue Jan 17, 2022 · 1 comment
Closed

Determine checked scopes per statement #1141

secure-sw-dev-bot opened this issue Jan 17, 2022 · 1 comment

Comments

@secure-sw-dev-bot
Copy link

This issue was copied from microsoft/checkedc-clang#1142


We introduce a 2-bit field called CheckedScopeSpecifier in the Stmt class.
During parsing when a compound statement is created we iterate the elements
(statements) of the compound statement and set the checked scope specifier for
each element to the checked scope specifier of the compound statement.

We can get the checked scope specifier for a statement by calling the
getCheckedScopeSpecifier method on the statement.

@secure-sw-dev-bot
Copy link
Author

Comment from @mgrang:

Depends on microsoft/checkedc-clang#1141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant