Skip to content

pass Settings by reference into Tokenizer#5857

Merged
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:tokenize-ref
Jan 13, 2024
Merged

pass Settings by reference into Tokenizer#5857
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:tokenize-ref

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Jan 7, 2024

We already were enforcing that it is provided via an assert. Back when I added that I did not change it yet because of all the files affected.

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.

looks good to me.. I think we could write some related checkers even.

EDIT: I wrote ticket 12346

@firewave
Copy link
Copy Markdown
Collaborator Author

I already filed https://trac.cppcheck.net/ticket/11566 a while ago.

@firewave firewave merged commit d015007 into cppcheck-opensource:main Jan 13, 2024
@firewave firewave deleted the tokenize-ref branch January 13, 2024 17:02
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.

2 participants