mc-imperial / dredd

A mutation testing tool designed to work with large C++ (and C) codebases.
Apache License 2.0
11 stars 3 forks source link

Adding explicit cast to expression in nested initializer list #298

Closed JonathanFoo0523 closed 2 months ago

JonathanFoo0523 commented 2 months ago

Up until now, an explicit static_cast has been applied to expressions under one layer of initializer list in case Dredd introduces a mutator function that narrows the type of the expression. This PR extends the feature so that an explicit static_cast is applied to expressions under nested initializer lists.

Fixes #295