Skip to content

Simplify known variables when they are at the end of a statement.#607

Merged
amai2012 merged 1 commit into
cppcheck-opensource:masterfrom
simartin:simplify_known_var_todo
May 31, 2015
Merged

Simplify known variables when they are at the end of a statement.#607
amai2012 merged 1 commit into
cppcheck-opensource:masterfrom
simartin:simplify_known_var_todo

Conversation

@simartin
Copy link
Copy Markdown
Contributor

Hi,

While tackling ticket #4884, I've noticed that we miss the opportunity to simplify known variables when they appear at the end of a statement. This patch fixes this, as well as two TODO test cases. Thanks to consider merging.

Cheers,
Simon

@simartin simartin force-pushed the simplify_known_var_todo branch from ab660ef to 85b4763 Compare May 30, 2015 21:35
amai2012 added a commit that referenced this pull request May 31, 2015
Simplify known variables when they are at the end of a statement.
@amai2012 amai2012 merged commit bc2c172 into cppcheck-opensource:master May 31, 2015
@simartin simartin deleted the simplify_known_var_todo branch May 31, 2015 06:57
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