[llvm] [clang] [clang][CoverageMapping] Refactor when setting MC/DC True/False (PR #78202)

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 17:45:14 PST 2024


================
@@ -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(); }
----------------
chapuni wrote:

I think this may be byref as far as the callee handles byvalue.

https://github.com/llvm/llvm-project/pull/78202


More information about the cfe-commits mailing list