-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add clang-format to CI #1080
base: master
Are you sure you want to change the base?
Add clang-format to CI #1080
Conversation
cc549fb
to
2ed64fa
Compare
2ed64fa
to
63d499f
Compare
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.
Okay as for me. But let's wait for approve from @Danil42Russia
@@ -43,7 +43,7 @@ class RpcBuffer : private vk::not_copyable { | |||
} | |||
|
|||
void reset(size_t pos) noexcept { | |||
php_assert(pos >= 0 && pos <= size()); |
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.
Why do you think it should be changed this way?
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.
As I remember clang-format gives or gcc with -Werror an error that size_t can't be less than 0
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.
Am I right that it now formats with default rules? I think we should firstly decide about rules we need before merging into master
No description provided.