-
Notifications
You must be signed in to change notification settings - Fork 0
Demo Clang Tidy #2
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
base: clang-tidy
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
|
||
| int OpenRoad::getThreadCount() | ||
| { | ||
| int BadName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: variable 'BadName' is not initialized [cppcoreguidelines-init-variables]
| int BadName; | |
| int BadName = 0; |
|
|
||
| int OpenRoad::getThreadCount() | ||
| { | ||
| int BadName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: invalid case style for variable 'BadName' [readability-identifier-naming]
| int BadName; | |
| int bad_name; |
Signed-off-by: Cho Moon <[email protected]>
Signed-off-by: Lia Vardanyan <[email protected]>
Signed-off-by: Cho Moon <[email protected]>
No description provided.