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

View File

@ -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() &&