[clang] Ensure bitmap for ternary condition is updated before visiting children (PR #78814)

2024-01-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Alan Phipps (evodius96) Changes 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 vis

[clang] Ensure bitmap for ternary condition is updated before visiting children (PR #78814)

2024-01-19 Thread Alan Phipps via cfe-commits
https://github.com/evodius96 created https://github.com/llvm/llvm-project/pull/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 L