-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent expression-under-cast-bypass in Initializer Lists for more mutations and narrowing type handling #278
Conversation
Check failed due to
|
@JonathanFoo0523 The failure looks reasonable since your change introduce more mutants. Therefore can you please go into |
Oh, looks like you already did this for SPIR-V, so you probably just need to do it for LLVM. You'll have to download the log files to see the change that's needed, as the CI output for cxx_apps is very large. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - please merge once bots pass.
This is failing because the cognitive complexity of |
Avoid bypass of implicit inner cast mutation under
default
(optimize_mutations) mode for expressions in Initializer List. Besides producing more mutants, this change ensures that Dredd can correctly handle narrowing type expressions involvingstd::initializer_list
without bypassing necessarystatic_cast
operations.Fixes #270