We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cpplint currently doesn't like do while loops and erroneously warns about them. The problem seems to be due to the change in brace styles: https://github.com/ros/roslint/blob/master/src/roslint/cpplint.py#L3130
cpplint
Given:
// Copyright 2015 Alex Henning void dowhile() { do { // Do some stuff } while (true); }
Result:
dowhile.cpp:9: Empty loop bodies should use {} or continue [whitespace/empty_loop_body] [5] Done processing dowhile.cpp Total errors found: 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cpplint
currently doesn't like do while loops and erroneously warns about them. The problem seems to be due to the change in brace styles: https://github.com/ros/roslint/blob/master/src/roslint/cpplint.py#L3130Given:
Result:
The text was updated successfully, but these errors were encountered: