File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11607,12 +11607,14 @@ class Sema final {
11607
11607
LocalInstantiationScope &Scope,
11608
11608
const MultiLevelTemplateArgumentList &TemplateArgs);
11609
11609
11610
- /// used by SetupConstraintCheckingTemplateArgumentsAndScope to recursively(in
11610
+ /// Used by SetupConstraintCheckingTemplateArgumentsAndScope to recursively(in
11611
11611
/// the case of lambdas) set up the LocalInstantiationScope of the current
11612
11612
/// function.
11613
- bool SetupConstraintScope(
11614
- FunctionDecl *FD, std::optional<ArrayRef<TemplateArgument>> TemplateArgs,
11615
- MultiLevelTemplateArgumentList MLTAL, LocalInstantiationScope &Scope);
11613
+ bool
11614
+ SetupConstraintScope(FunctionDecl *FD,
11615
+ std::optional<ArrayRef<TemplateArgument>> TemplateArgs,
11616
+ const MultiLevelTemplateArgumentList &MLTAL,
11617
+ LocalInstantiationScope &Scope);
11616
11618
11617
11619
/// Used during constraint checking, sets up the constraint template argument
11618
11620
/// lists, and calls SetupConstraintScope to set up the
Original file line number Diff line number Diff line change @@ -586,7 +586,8 @@ bool Sema::addInstantiatedCapturesToScope(
586
586
587
587
bool Sema::SetupConstraintScope (
588
588
FunctionDecl *FD, std::optional<ArrayRef<TemplateArgument>> TemplateArgs,
589
- MultiLevelTemplateArgumentList MLTAL, LocalInstantiationScope &Scope) {
589
+ const MultiLevelTemplateArgumentList &MLTAL,
590
+ LocalInstantiationScope &Scope) {
590
591
if (FD->isTemplateInstantiation () && FD->getPrimaryTemplate ()) {
591
592
FunctionTemplateDecl *PrimaryTemplate = FD->getPrimaryTemplate ();
592
593
InstantiatingTemplate Inst (
You can’t perform that action at this time.
0 commit comments