[clang] [llvm] [MC/DC] Refactor: Introduce `ConditionIDs` as `std::array<2>` (PR #81221)

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 10 07:16:24 PST 2024


================
@@ -217,6 +217,9 @@ class CounterExpressionBuilder {
 
 using LineColPair = std::pair<unsigned, unsigned>;
 
+using MCDCConditionID = unsigned int;
+using MCDCConditionIDs = std::array<MCDCConditionID, 2>;
----------------
chapuni wrote:

`first` and `second` didn't make sense to me.

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


More information about the cfe-commits mailing list