Skip to content

fix(clang-tidy): justify readability-make-member-function-const in FlockMutex - #1322

Merged
castler merged 1 commit into
eclipse-score:mainfrom
castler:fix_make_member_const
Oct 7, 2026
Merged

castler merged 1 commit into
eclipse-score:mainfrom
castler:fix_make_member_const

Conversation

@castler

@castler castler commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Suppresses the single readability-make-member-function-const finding with a justification: FlockMutex::unlock() changes lock state and stays non-const, consistent with lock()/try_lock().

Verified: flock tests pass.

Review Checklist Evidence Notice - Merge Queue

This pull request is (or recently was) in the merge queue.
A pull request may only enter the merge queue when all necessary review checklist acknowledgements are in place.

Checklist evidence (the description, an acknowledgement reply, an approving review, or a commit)
changed after this pull request entered the merge queue.
The evidence visible here may no longer reflect what was true at merge-queue entry.

Once this pull request is merged, prefer the evidence recorded in git history over this description
where the two differ — the description keeps updating live for as long as this PR exists, while the
merge commit (if your merge-queue configuration embeds the PR title and description into it) is a
fixed, tamper-evident record of what was true at that point.

@castler
castler marked this pull request as ready for review October 7, 2026 05:58
@castler
castler enabled auto-merge October 7, 2026 05:58
@castler
castler added this pull request to the merge queue Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review Checklist Evidence Notice - Merge Queue

This pull request is (or recently was) in the merge queue.
A pull request may only enter the merge queue when all necessary review checklist acknowledgements are in place.

Checklist evidence (the description, an acknowledgement reply, an approving review, or a commit)
changed after this pull request entered the merge queue.
The evidence visible here may no longer reflect what was true at merge-queue entry.

Once this pull request is merged, prefer the evidence recorded in git history over this description
where the two differ — the description keeps updating live for as long as this PR exists, while the
merge commit (if your merge-queue configuration embeds the PR title and description into it) is a
fixed, tamper-evident record of what was true at that point.

…ockMutex

unlock() changes the lock state and must stay non-const, consistent with
lock() and try_lock() (BasicLockable semantics).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Merged via the queue into eclipse-score:main with commit 92107d2 Oct 7, 2026
18 checks passed
@castler
castler deleted the fix_make_member_const branch October 7, 2026 07:30
@github-project-automation github-project-automation Bot moved this from Backlog to Done in COM - Communication FT Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants