4 Commits

Author SHA1 Message Date
NAKAMURA Takumi
faf3e06dc0
[MC/DC] Enable nested expressions (#125413)
A warning "contains an operation with a nested boolean expression." is
no longer emitted. At the moment, split expressions are treated as
individual Decisions.
2026-01-31 13:31:02 +09:00
NAKAMURA Takumi
9780d421ce
[MC/DC] Handle __builtin_expect as if parenthses (#125405)
Fixes #124565
2026-01-13 22:44:30 +09:00
NAKAMURA Takumi
38f1488ecd
[MC/DC] Enable usage of ! among && and || (#125406)
In the current implementation, `!(a || b) && c` was not treated as one
Decision with three terms.

Fixes #124563
2026-01-10 12:00:36 +09:00
NAKAMURA Takumi
cab738bea1
[MC/DC] Update CoverageMapping tests (#125404)
To resolve the error, rename mcdc-error-nests.cpp ->
mcdc-nested-expr.cpp at first.

- `func_condop` A corner case that contains close decisions.
- `func_expect` Uses `__builtin_expect`. (#124565)
- `func_lnot` Contains logical not(s) `!` among MC/DC binary operators.
(#124563)
2025-03-01 15:58:39 +09:00