File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4970,7 +4970,8 @@ Value *ScalarExprEmitter::VisitBinLAnd(const BinaryOperator *E) {
4970
4970
CGF.incrementProfileCounter (E->getRHS ());
4971
4971
CGF.EmitBranch (FBlock);
4972
4972
CGF.EmitBlock (FBlock);
4973
- }
4973
+ } else
4974
+ CGF.markStmtMaybeUsed (E->getRHS ());
4974
4975
4975
4976
CGF.MCDCLogOpStack .pop_back ();
4976
4977
// If the top of the logical operator nest, update the MCDC bitmap.
@@ -5112,7 +5113,8 @@ Value *ScalarExprEmitter::VisitBinLOr(const BinaryOperator *E) {
5112
5113
CGF.incrementProfileCounter (E->getRHS ());
5113
5114
CGF.EmitBranch (FBlock);
5114
5115
CGF.EmitBlock (FBlock);
5115
- }
5116
+ } else
5117
+ CGF.markStmtMaybeUsed (E->getRHS ());
5116
5118
5117
5119
CGF.MCDCLogOpStack .pop_back ();
5118
5120
// If the top of the logical operator nest, update the MCDC bitmap.
You can’t perform that action at this time.
0 commit comments