Skip to content

fix #13861: Tokenizer/ValueFlow: wrong handling of struct initialization#7604

Merged
danmar merged 2 commits intocppcheck-opensource:mainfrom
ludviggunne:13861
Jun 17, 2025
Merged

fix #13861: Tokenizer/ValueFlow: wrong handling of struct initialization#7604
danmar merged 2 commits intocppcheck-opensource:mainfrom
ludviggunne:13861

Conversation

@ludviggunne
Copy link
Copy Markdown
Collaborator

No description provided.

@olabetskyi
Copy link
Copy Markdown
Collaborator

You should add test to check that the variable declaration wasn't split up. False positive here is just a side effect.

@ludviggunne
Copy link
Copy Markdown
Collaborator Author

You should add test to check that the variable declaration wasn't split up. False positive here is just a side effect.

Will do!

Comment thread lib/tokenize.cpp Outdated
@danmar danmar merged commit 43adf75 into cppcheck-opensource:main Jun 17, 2025
53 checks passed
@ludviggunne ludviggunne deleted the 13861 branch June 17, 2025 13:56
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