[clang] [llvm] [clang][CoverageMapping] Refactor when setting MC/DC True/False (PR #78202)
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 17:45:14 PST 2024
================
@@ -663,54 +668,40 @@ struct MCDCCoverageBuilder {
private:
CodeGenModule &CGM;
- llvm::SmallVector<MCDCConditionID> AndRHS;
- llvm::SmallVector<MCDCConditionID> OrRHS;
- llvm::SmallVector<const BinaryOperator *> NestLevel;
+ llvm::SmallVector<DecisionIDPair, 6> DecisionStack;
----------------
chapuni wrote:
I meant; `llvm::SmallVector<DecisionIDPair>` w/o the explicit number.
https://github.com/llvm/llvm-project/pull/78202
More information about the llvm-commits
mailing list