Make a reference const. No behavior change.

llvm-svn: 229242
This commit is contained in:
Nico Weber 2015-02-14 05:47:01 +00:00
parent 5526f4f094
commit 4d1bed87ce
1 changed files with 1 additions and 1 deletions

View File

@ -3472,7 +3472,7 @@ Decl *Sema::ParsedFreeStandingDeclSpec(Scope *S, AccessSpecifier AS,
return ActOnFriendTypeDecl(S, DS, TemplateParams); return ActOnFriendTypeDecl(S, DS, TemplateParams);
} }
CXXScopeSpec &SS = DS.getTypeSpecScope(); const CXXScopeSpec &SS = DS.getTypeSpecScope();
bool IsExplicitSpecialization = bool IsExplicitSpecialization =
!TemplateParams.empty() && TemplateParams.back()->size() == 0; !TemplateParams.empty() && TemplateParams.back()->size() == 0;
if (Tag && SS.isNotEmpty() && !Tag->isCompleteDefinition() && if (Tag && SS.isNotEmpty() && !Tag->isCompleteDefinition() &&