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

feat: Require that for-init-decls have one of 2 formats. #67

Merged
merged 1 commit into from
Dec 15, 2021

Commits on Dec 15, 2021

  1. feat: Require that for-init-decls have one of 2 formats.

    The for loop init decl should either be a variable declaration like
    `int i = 0` or an assignment like `i = 0`. This disallows for example
    `int i` as an init-decl (it's uninitialised) or some random other
    expression that's not an assignment.
    iphydf committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    c7c1e92 View commit details
    Browse the repository at this point in the history