forked from OSchip/llvm-project
Make a reference const. No behavior change.
llvm-svn: 229242
This commit is contained in:
parent
5526f4f094
commit
4d1bed87ce
|
@ -3472,7 +3472,7 @@ Decl *Sema::ParsedFreeStandingDeclSpec(Scope *S, AccessSpecifier AS,
|
|||
return ActOnFriendTypeDecl(S, DS, TemplateParams);
|
||||
}
|
||||
|
||||
CXXScopeSpec &SS = DS.getTypeSpecScope();
|
||||
const CXXScopeSpec &SS = DS.getTypeSpecScope();
|
||||
bool IsExplicitSpecialization =
|
||||
!TemplateParams.empty() && TemplateParams.back()->size() == 0;
|
||||
if (Tag && SS.isNotEmpty() && !Tag->isCompleteDefinition() &&
|
||||
|
|
Loading…
Reference in New Issue