diff options
author | Alan Phipps <a-phipps@ti.com> | 2024-01-22 16:33:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 16:33:20 -0600 |
commit | 424b9cf41abf376cc7a34640f5f451c91714f77b (patch) | |
tree | c0eb073e305ef9af2345fbe4d042ecc10cd9ccb8 /clang/cmake | |
parent | 1000cefc049e313a532fc9df2a48d80826fc80c7 (diff) | |
download | llvm-424b9cf41abf376cc7a34640f5f451c91714f77b.zip llvm-424b9cf41abf376cc7a34640f5f451c91714f77b.tar.gz llvm-424b9cf41abf376cc7a34640f5f451c91714f77b.tar.bz2 |
[Coverage][clang] Ensure bitmap for ternary condition is updated before visiting children (#78814)
This is a fix for MC/DC issue https://github.com/llvm/llvm-project/issues/78453 in which a ConditionalOperator that evaluates a complex condition was incorrectly updating its global bitmap after visiting its LHS and RHS children. This
was wrong because if the LHS or RHS also evaluate a complex condition, the MCDC temporary bitmap value will get corrupted. The fix is to ensure that the bitmap is updated prior to visiting the LHS and RHS.
Diffstat (limited to 'clang/cmake')
0 files changed, 0 insertions, 0 deletions