================ @@ -722,6 +739,24 @@ struct MCDCCoverageBuilder { return I->second; } + /// Return the ID of the next condition when the given condition is True. + MCDCConditionID getNextIfTrueCondID(const Expr *Cond) const { + auto I = TrueCondIDs.find(CodeGenFunction::stripCond(Cond)); + if (I == TrueCondIDs.end()) + return 0; ---------------- ornata wrote:
Should document that this returns 0 when the condition is not found. https://github.com/llvm/llvm-project/pull/78202 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits