Repository navigation
Fix clang-tidy findings in score/time - #330
Draft
MaciejSalwa543 wants to merge 20 commits into
Draft
MaciejSalwa543 wants to merge 20 commits into
MaciejSalwa543 wants to merge 20 commits into
Conversation
MaciejSalwa543
had a problem deploying
to
workflow-approval
November 15, 2026 16:55 — with
GitHub Actions
Error
MaciejSalwa543
had a problem deploying
to
workflow-approval
November 15, 2026 16:55 — with
GitHub Actions
Error
MaciejSalwa543
commented
Nov 15, 2026
| # NOTE: CheckOptions are yet subject to be provided for each enabled check per module. | ||
| CheckOptions: | ||
| misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: true | ||
| cppcoreguidelines-rvalue-reference-param-not-moved.IgnoreUnnamedParams: true |
Contributor
Author
There was a problem hiding this comment.
Added for the 3 unnamed && params in the vehicle_time stub (SetTimeSlaveSyncDataReceivedCallback etc.), the stub ignores the callback on purpose. An unnamed param can't be moved anyway, so this can't hide a real missed move. I'd keep it as an option instead of 3 NOLINTs, even though it applies repo-wide
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
Contributor
|
Quality pack traceability report for this pull request: Status: PASS (workflow run) |
Contributor
|
Documentation preview for this pull request is available at: |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Depends on #216, which fixes the clang-tidy and sanitizer CI config this relies on. Until #216 is merged the diff here also shows its commits, only the last 11 commits belong to this PR.
Done:
[[nodiscard]], renamed short identifiers, named magic numbersstd::forwardfor the forwarding reference (Rule 28.6.2), nooptional::value()innoexceptfunctions (Rule 18.5.1)IgnoreUnnamedParamsfor the unnamed parameters in the stub~SvtCallbackDispatcherdefaulted,jthreadalready stops and joins in its destructorNote: the
score/time/gate only counts what the clang-tidy aspect lints, so header-only targets (clock/,ptp/, mocks) and the QNX-onlyqtimebackend are not covered.Related ticket
closes #76