Skip to content

Fixed #10432 (Only the first default argument was copied from the forward declaration)#3530

Merged
danmar merged 3 commits into
cppcheck-opensource:mainfrom
StefanVK:main
Nov 15, 2021
Merged

Fixed #10432 (Only the first default argument was copied from the forward declaration)#3530
danmar merged 3 commits into
cppcheck-opensource:mainfrom
StefanVK:main

Conversation

@StefanVK
Copy link
Copy Markdown
Contributor

https://trac.cppcheck.net/ticket/10432

I'm not sure why the break was introduced in the first place. Please let me know if you see that I'm missing something here. But to me it looks like it just copies the default values for the first parameter which has a default. If multiple parameters have a default value, the default values of the remaining parameters are missing and it trips up later templatesimplifier steps.

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

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

if ci is happy I think we should merge this.

@chrchr-github
Copy link
Copy Markdown
Collaborator

The workflows still need approval.

@chrchr-github
Copy link
Copy Markdown
Collaborator

This has been approved for quite some time now...

@danmar danmar merged commit 5770110 into cppcheck-opensource:main Nov 15, 2021
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.

4 participants