We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3604567 commit 2843ad3Copy full SHA for 2843ad3
clang/lib/Sema/SemaConcept.cpp
@@ -1964,10 +1964,10 @@ void SubstituteParameterMappings::buildParameterMapping(
1964
TemplateParams->getLAngleLoc(), UsedParams,
1965
/*RAngleLoc=*/SourceLocation(),
1966
/*RequiresClause=*/nullptr);
1967
+ unsigned Size = OccurringIndices.count();
1968
N.updateParameterMapping(
1969
std::move(OccurringIndices), std::move(OccurringIndicesForSubsumption),
- MutableArrayRef<TemplateArgumentLoc>{TempArgs, OccurringIndices.count()},
1970
- UsedList);
+ MutableArrayRef<TemplateArgumentLoc>{TempArgs, Size}, UsedList);
1971
}
1972
1973
bool SubstituteParameterMappings::substitute(
0 commit comments