[llvm-branch-commits] [clang] [llvm] [Coverage][Single] Enable Branch coverage for `BinLAnd` and `BinLOr` (PR #113113)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 28 09:50:57 PST 2026
================
@@ -5417,7 +5426,12 @@ Value *ScalarExprEmitter::VisitBinLAnd(const BinaryOperator *E) {
// 0 && RHS: If it is safe, just elide the RHS, and return 0/false.
if (!CGF.ContainsLabel(E->getRHS())) {
+ CGF.markStmtAsUsed(false, E);
+ if (HasLHSSkip)
+ CGF.incrementProfileCounter(CGF.UseSkipPath, E);
+
----------------
gulfemsavrun wrote:
Ok then.
https://github.com/llvm/llvm-project/pull/113113
More information about the llvm-branch-commits
mailing list