Skip to content

Fix clang-tidy-22 warnings - #113898

Merged
thevar1able merged 1 commit into
masterfrom
fix-tidy-22
Aug 10, 2026
Merged

thevar1able merged 1 commit into
masterfrom
fix-tidy-22

Conversation

@thevar1able

@thevar1able thevar1able commented Aug 7, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

Version info

  • Merged into: 26.8.1.1114 (included in 26.8 and later)

@thevar1able
thevar1able enabled auto-merge August 7, 2026 22:43
@evillique evillique self-assigned this Aug 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c03c6d1]

Summary: ✅


AI Review

Summary

This PR replaces two find(...) != npos checks with contains(...): one in the packed-string-keys unit test and one in MergeTreeData::reclaimStaleTemporaryPartDirectory. Both substitutions are behavior-preserving, and I did not find any correctness, safety, compatibility, or test-coverage issues in the touched logic.

Final Verdict
  • Status: ✅ Approve

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.60% 86.60% +0.00%
Functions 91.90% 91.90% +0.00%
Branches 78.80% 78.80% +0.00%

Changed lines: Changed C/C++ lines covered: 4/4 (100.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 7, 2026
@thevar1able
thevar1able added this pull request to the merge queue Aug 10, 2026
Merged via the queue into master with commit 258150f Aug 10, 2026
180 checks passed
@thevar1able
thevar1able deleted the fix-tidy-22 branch August 10, 2026 16:39
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants