◐ Shell
reader mode source ↗
Skip to content

ValueFlow: avoid various unnecessary copies#7583

Draft
firewave wants to merge 11 commits into
cppcheck-opensource:mainfrom
firewave:vf-move
Draft

ValueFlow: avoid various unnecessary copies#7583
firewave wants to merge 11 commits into
cppcheck-opensource:mainfrom
firewave:vf-move

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

firewave commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator Author

Mostly taken from #6756 and discovered by reviewing the code. Still needs to be profiled.

@firewave firewave marked this pull request as draft June 10, 2025 10:10
@firewave firewave force-pushed the vf-move branch 3 times, most recently from 42d3603 to 762ebed Compare June 10, 2025 10:59
@firewave firewave marked this pull request as ready for review June 10, 2025 11:17
@firewave

Copy link
Copy Markdown
Collaborator Author

Not much in terms of performance which is not surprising since these were found by review and not by profiling.

@firewave firewave marked this pull request as draft June 12, 2025 13:19
@firewave firewave marked this pull request as ready for review June 29, 2025 16:03
@firewave firewave marked this pull request as draft July 3, 2025 09:24
@firewave

Copy link
Copy Markdown
Collaborator Author

I split out the ones which do not need the suggested rvalue usage into #8207.

@firewave firewave force-pushed the vf-move branch 2 times, most recently from 57fc369 to a58653f Compare February 16, 2026 04:21
@firewave firewave force-pushed the vf-move branch 2 times, most recently from f1e2419 to 8e0b759 Compare March 1, 2026 03:34
@sonarqubecloud

sonarqubecloud Bot commented Mar 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants