-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix Klockwork compilation warning #410
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.
Thanks for the PR, just one nitpick regarding code style.
{ | ||
visit_any_int(value); | ||
return; | ||
} |
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.
Please follow Google style guide: https://google.github.io/styleguide/cppguide.html
@foonathan What will be the benefit of having |
Oh, so you're using the google style without modification? Did not know that. |
Yes, with the exception of snake_case instead of CapitalizedWords for method names, but this doesn't affect formatting. I should probably document it somewhere. |
Yes, you should document it. But running clang-format over the source files will also change some other stuff like the indentation of your |
@chenhayat Merged in 05ba3e7, thanks! @foonathan I've documented the coding style in https://github.com/fmtlib/fmt/blob/master/CONTRIBUTING.rst. |
No description provided.