about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-04-20 21:45:36 +0100
committerGitHub <noreply@github.com>2024-04-20 21:45:36 +0100
commitf13cd0c8d07e0ecb03af05c83423c038194f2e4f (patch)
treed69d49c3a764c9c086921ff7fe974cc53d2b2285 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent871c3e30757203ecddc862243c9e42c242467ace (diff)
parent25b9f84413200e376fdf3f8d9b166c4e5f4c79df (diff)
downloadrust-f13cd0c8d07e0ecb03af05c83423c038194f2e4f.tar.gz
rust-f13cd0c8d07e0ecb03af05c83423c038194f2e4f.zip
Rollup merge of #124053 - Zalathar:lazy-boolean, r=Mark-Simulacrum
coverage: Branch coverage tests for lazy boolean operators

The current branch coverage implementation already supports the `&&` and `||` operators (even outside of an `if` condition), as a natural consequence of how they are desugared/lowered, but we didn't have any specific tests for them. This PR adds some appropriate tests.

I've also moved the existing branch coverage tests into a `coverage/branch` subdirectory, so that they don't become unwieldy as I add more branch coverage tests.

``@rustbot`` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions