danmar/cppcheck — pull request #419 by simartin (2014-09-04 22:34:39+00:00)
Title: Ticket #6103: Simplify "new (type)" constructs into "new type"

Hi,

This ticket is an infinite loop upon valid code due to the AST mechanism being confused by the "{ new (type) }" construct. This patch fixes this by ensuring that we simplify redundant parentheses in invocation of the "new" operator. Thanks to consider merging.

Cheers,
Simon