forked from OSchip/llvm-project
parent
2c2eb12d9c
commit
c9739e30c6
|
@ -5447,7 +5447,7 @@ Decl *Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK,
|
|||
if (TUK != TUK_Reference) {
|
||||
if (TemplateParameterList *TemplateParams
|
||||
= MatchTemplateParametersToScopeSpecifier(KWLoc, SS,
|
||||
(TemplateParameterList**)TemplateParameterLists.get(),
|
||||
TemplateParameterLists.get(),
|
||||
TemplateParameterLists.size(),
|
||||
TUK == TUK_Friend,
|
||||
isExplicitSpecialization,
|
||||
|
|
|
@ -6312,7 +6312,7 @@ Decl *Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
|
|||
if (unsigned NumTempParamLists = TempParams.size())
|
||||
D = FriendTemplateDecl::Create(Context, CurContext, Loc,
|
||||
NumTempParamLists,
|
||||
(TemplateParameterList**) TempParams.release(),
|
||||
TempParams.release(),
|
||||
TSI,
|
||||
DS.getFriendSpecLoc());
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue