[clang] [llvm] [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 18:26:32 PST 2024


================
@@ -722,6 +709,12 @@ struct MCDCCoverageBuilder {
       return I->second;
   }
 
+  /// Return the LHS Decision ({0,0} if not set).
+  const DecisionIDPair &back() {
+    assert(DecisionStack.size() >= 1);
----------------
chapuni wrote:

Dropped in the latest change. Thanks for pointing this out.

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


More information about the cfe-commits mailing list