File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,10 @@ Solution ConstraintSystem::finalize() {
213
213
solution.ImplicitCallAsFunctionRoots .insert (implicitRoot);
214
214
}
215
215
216
+ for (const auto &env : PackExpansionEnvironments) {
217
+ solution.PackExpansionEnvironments .insert (env);
218
+ }
219
+
216
220
return solution;
217
221
}
218
222
Original file line number Diff line number Diff line change @@ -1578,6 +1578,16 @@ void ConstraintSystem::print(raw_ostream &out) const {
1578
1578
}
1579
1579
}
1580
1580
1581
+ if (!PackExpansionEnvironments.empty ()) {
1582
+ out.indent (indent) << " Pack Expansion Environments:\n " ;
1583
+ for (const auto &env : PackExpansionEnvironments) {
1584
+ out.indent (indent + 2 );
1585
+ env.first ->dump (&getASTContext ().SourceMgr , out);
1586
+ out << " = (" << env.second .first << " , "
1587
+ << env.second .second ->getString (PO) << " )" << ' \n ' ;
1588
+ }
1589
+ }
1590
+
1581
1591
if (!DefaultedConstraints.empty ()) {
1582
1592
out.indent (indent) << " Defaulted constraints:\n " ;
1583
1593
interleave (DefaultedConstraints, [&](ConstraintLocator *locator) {
You can’t perform that action at this time.
0 commit comments