File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -730,8 +730,8 @@ struct MCDCCoverageBuilder {
730
730
return ;
731
731
732
732
// If binary expression is disqualified, don't do mapping.
733
- if (NestLevel.empty () && MCDCBitmapMap. find ( CodeGenFunction::stripCond (
734
- E)) == MCDCBitmapMap.end ( ))
733
+ if (NestLevel.empty () &&
734
+ ! MCDCBitmapMap.contains ( CodeGenFunction::stripCond (E) ))
735
735
NotMapped = true ;
736
736
737
737
// Push Stmt on 'NestLevel' stack to keep track of nest location.
@@ -744,7 +744,7 @@ struct MCDCCoverageBuilder {
744
744
// If the operator itself has an assigned ID, this means it represents a
745
745
// larger subtree. In this case, pop its ID out of the RHS stack and
746
746
// assign that ID to its LHS node. Its RHS will receive a new ID.
747
- if (CondIDs.find (CodeGenFunction::stripCond (E)) != CondIDs. end ( )) {
747
+ if (CondIDs.contains (CodeGenFunction::stripCond (E))) {
748
748
// If Stmt has an ID, assign its ID to LHS
749
749
CondIDs[CodeGenFunction::stripCond (E->getLHS ())] = CondIDs[E];
750
750
You can’t perform that action at this time.
0 commit comments