Skip to content

Conversation

@ceJce
Copy link
Contributor

@ceJce ceJce commented Feb 3, 2026

https://trac.cppcheck.net/ticket/13735

If the start paranthese is preceeded by a keyword like "return" the parantheses removal is aborted.

Added no abort removal of parantheses in simplifyParenthesizedLibraryFunctionsif the preceeding %name% is a keyword, like "return (modf) ...

- simplifyParenthesizedLibraryFunctions: Don't abort removal when preceeding is a keyword
@ceJce ceJce marked this pull request as draft February 3, 2026 12:27
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

@ceJce ceJce marked this pull request as ready for review February 3, 2026 14:14
@danmar danmar merged commit 7dbb1fa into danmar:main Feb 3, 2026
66 checks passed
@ceJce ceJce deleted the fix13735_ast_funcname_in_parantheses branch February 3, 2026 15:46
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