Skip to content

fix #13967: SymbolDatabase: Set correct scope for namespaced struct declaration outside namespace#7634

Merged
danmar merged 2 commits intocppcheck-opensource:mainfrom
ludviggunne:13967
Jul 1, 2025
Merged

fix #13967: SymbolDatabase: Set correct scope for namespaced struct declaration outside namespace#7634
danmar merged 2 commits intocppcheck-opensource:mainfrom
ludviggunne:13967

Conversation

@ludviggunne
Copy link
Copy Markdown
Collaborator

No description provided.

@ludviggunne ludviggunne force-pushed the 13967 branch 2 times, most recently from 7f6f91e to 7568f18 Compare June 27, 2025 14:00
@ludviggunne ludviggunne changed the title fix #13967: Template simplifier: put Tokens into propper scope fix #13967: Template simplifier: put Tokens into proper scope Jun 27, 2025
Comment thread test/testsymboldatabase.cpp
Comment thread lib/symboldatabase.cpp
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.

I think the ticket/PR should be renamed to indicate that the symboldatabase is fixed and that we don't touch the template simplifier.

the tokens are still written in global scope right?

Comment thread test/testsymboldatabase.cpp
Comment thread test/testsymboldatabase.cpp
@ludviggunne ludviggunne changed the title fix #13967: Template simplifier: put Tokens into proper scope fix #13967: SymbolDatabase: Set correct scope for namespaced struct declaration outside namespace Jul 1, 2025
@danmar danmar merged commit f4eb733 into cppcheck-opensource:main Jul 1, 2025
53 checks passed
@ludviggunne ludviggunne deleted the 13967 branch July 1, 2025 11:54
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