-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[CI] Update clang-format version to 18 #30805
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: master
Are you sure you want to change the base?
[CI] Update clang-format version to 18 #30805
Conversation
36d1e3f
to
f5a7858
Compare
d163f2b
to
5218283
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.
Ok for Core part and Samples
}; \ | ||
*api_list_ptr[i].func_ptr = reinterpret_cast<void*>(local::stub); \ | ||
continue; \ | ||
# define ITT_STUB_NO_IMPL(fn) \ |
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.
Should thirdparty
code undergo our code style rules? I think not, but it's not strong opinion.
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.
It seems it is being checked intentionally. .clang-format
configuration file was added there: https://github.com/openvinotoolkit/openvino/blob/master/thirdparty/itt_collector/.clang-format
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.
I prefer to move to 19th version, but if it requires much more tasks to do - it's ok for me.
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 code style is updated also the (optionally) .clang-format files could be updated for
Standard: Cpp11
-> Standard: Cpp17
to be aligned with OpenVINO C++ standard which is 17.
I've got input from @aobolensk there is no more diff to current PR changes.
@gkrivor , @maxnick , @sshlyapn , @PatrikStepan
Do you agree to update Standard in formatter?
Details:
Tickets: