Skip to content

refs #10663 - only match start pattern in Library::detectContainerInternal() if necessary#4499

Merged
orbitcowboy merged 1 commit intocppcheck-opensource:mainfrom
firewave:detectcontainer
Sep 23, 2022
Merged

refs #10663 - only match start pattern in Library::detectContainerInternal() if necessary#4499
orbitcowboy merged 1 commit intocppcheck-opensource:mainfrom
firewave:detectcontainer

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Sep 23, 2022

This gets rid of about half the Token::Match() calls when scanning mame_regtest (when re-enabling the Library calls in parsedecl() for C code). Better performance numbers soon.

@firewave
Copy link
Copy Markdown
Collaborator Author

Using with the unusedFunction selfcheck with clang-14 from #2944:
84,868,419,217 -> 81,575,186,178

@orbitcowboy orbitcowboy merged commit e8b9cd6 into cppcheck-opensource:main Sep 23, 2022
@firewave firewave deleted the detectcontainer branch September 23, 2022 20:04
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