================
@@ -172,7 +170,8 @@ static bool isStrictSubset(const VariantMatchInfo &VMI0,
for (unsigned Bit : VMI0.RequiredTraits.set_bits())
if (!VMI1.RequiredTraits.test(Bit))
return false;
- if (!isSubset<TraitProperty>(VMI0.ConstructTraits, VMI1.ConstructTraits))
+ if (!isOrderedSubset<TraitProperty>(VMI0.ConstructTraits,
----------------
MattPD wrote:
I confirmed that Flang built from the parent commit selects TASKYIELD for the
`repeated_construct_subset` example. I'll recheck my reproducer in both clause
orders after the rebase.
https://github.com/llvm/llvm-project/pull/231668
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits