Skip to content
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

[CPU] Enable and address google-* clang-tidy remarks #28537

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aobolensk
Copy link
Contributor

@aobolensk aobolensk commented Jan 19, 2025

Details:

  • Enable google-* checks in clang-tidy for CPU plugin implementation
  • Exclude google-explicit-constructor from google-* scope, because it is error prone, google-default-arguments - to be able to have default function arguments in virtual functions, google-readability-casting - potentially may be enabled later

Tickets:

  • N/A

@aobolensk aobolensk requested review from a team as code owners January 19, 2025 01:52
@aobolensk aobolensk changed the title [CPU] Enable google-* clang-tidy remarks [CPU] Enable and address google-* clang-tidy remarks Jan 19, 2025
@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Jan 19, 2025
@aobolensk aobolensk force-pushed the clang-format-google branch 11 times, most recently from 9142aeb to dd946a0 Compare January 19, 2025 22:39
Comment on lines +47 to +51
-google-default-arguments,
-google-explicit-constructor,
-google-readability-casting,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add them to the comment to the list of checks we want to enable later

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@EgorDuplensky
Copy link
Contributor

@dmitry-gorokhov Could you please take a look.
It is better to rebase after the approve is received.

except google-explicit-constructor
@aobolensk aobolensk force-pushed the clang-format-google branch from dd946a0 to 98b8e04 Compare January 20, 2025 18:49
@aobolensk aobolensk force-pushed the clang-format-google branch from 7eef6d6 to 869c004 Compare January 20, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants