Skip to content

Ticket #5625: Simplify constant ternary operator in template parameters.#453

Merged
amai2012 merged 1 commit into
cppcheck-opensource:masterfrom
simartin:ticket_5625
Oct 6, 2014
Merged

Ticket #5625: Simplify constant ternary operator in template parameters.#453
amai2012 merged 1 commit into
cppcheck-opensource:masterfrom
simartin:ticket_5625

Conversation

@simartin
Copy link
Copy Markdown
Contributor

@simartin simartin commented Oct 4, 2014

Hi,

This patch ensures that TemplateSimplifier::templateParameters doest not fail when a ternary operator is used as a template parameter and adjusts Tokenizer::simplifyConstTernaryOp accordingly, which fixes the ticket. Thanks to consider merging.

Cheers,
Simon

amai2012 added a commit that referenced this pull request Oct 6, 2014
Ticket #5625: Simplify constant ternary operator in template parameters.
@amai2012 amai2012 merged commit 85500dc into cppcheck-opensource:master Oct 6, 2014
@simartin simartin deleted the ticket_5625 branch October 6, 2014 18:05
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.

3 participants