-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
8$: Warn on for(;;){}while(cond); #954
Comments
Hello, I'd like to take on this task as part of classwork to contribute to an open source project. This is my first time doing so, and I'd love to reach out for some guidance. What would be the best medium to ask for help? |
Awesome! I'm happy to help you with this.
Here are some options:
|
Thanks for the quick response. I've been familiarizing myself with the relevant code and implementing the initial steps for a diagnostic. Now that I'm onto writing the production code, I wanted to check if I was on the right track. Using Does any of that sound right? |
@cphamWSU Adding checks at the end of |
In the following examples, the programmer intended to write a do-while loop:
If we see
while
after afor
orwhile
loop's body, without any newline after the}
, report a diagnostic.The text was updated successfully, but these errors were encountered: