Skip to content

fixed handling of incomplete char/string literals in isPrefixStringCharLiteral() - also optimized it a bit#4541

Merged
orbitcowboy merged 2 commits intocppcheck-opensource:mainfrom
firewave:literal
Oct 9, 2022
Merged

fixed handling of incomplete char/string literals in isPrefixStringCharLiteral() - also optimized it a bit#4541
orbitcowboy merged 2 commits intocppcheck-opensource:mainfrom
firewave:literal

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Oct 9, 2022

No description provided.

…harLiteral()` - also optimized it a bit / added tests for `isStringLiteral()` and `isCharLiteral()`
@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Oct 9, 2022

This reduces Ir in the selfcheck callgrind step from 81,938,043,268 to 81,344,476,819.

@firewave firewave marked this pull request as ready for review October 9, 2022 08:57
@orbitcowboy orbitcowboy merged commit d1bfae9 into cppcheck-opensource:main Oct 9, 2022
@firewave firewave deleted the literal branch October 9, 2022 16:37
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