================ @@ -722,6 +713,9 @@ struct MCDCCoverageBuilder { return I->second; } + /// Return the LHS Decision ([0,0] if not set). + const DecisionIDPair back() const { return DecisionStack.back(); } ---------------- evodius96 wrote:
Ah, ok I think I misunderstood. You're suggesting that the fact taht DecisionStack.back() returns byref needs to be reflected by the return type of this function. In other words, restore the return type to the way it was: `const DecisionIDPair &back() const { return DecisionStack.back(); }` I did change the visitBin* functions to no longer hold a reference. 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