diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-23 23:04:38 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 16:01:45 +0200 |
| commit | a8a09903b4662717b9d81fe32ee8225310dcca6c (patch) | |
| tree | 44ef75f7f579779c55954b0627bb1a581973c04d /runtime/src/xma2_decoder.cpp | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
semantic_mutants: leave docstrings alone, so their op names are not reported as surviving mutants
mutants_for treated any line that starts with a quote as code (meant for `f"... OpIAdd ..."` emit lines), so a
docstring that names an opcode or GLSL op produced mutants that can never fail a test and were always reported
SURVIVED: `--function nminmax_f32` listed 5 mutants, 4 of them in its docstring, and 47 across rdna2spirv.py.
Tokenize the mutated range (dedented) and skip strings that stand alone as a statement; a range that does not
tokenize keeps the old behaviour.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions