mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 08:06:07 +00:00
Reformatting.
llvm-svn: 116662
This commit is contained in:
parent
2c2eb12d9c
commit
c9739e30c6
@ -5447,8 +5447,8 @@ Decl *Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK,
|
||||
if (TUK != TUK_Reference) {
|
||||
if (TemplateParameterList *TemplateParams
|
||||
= MatchTemplateParametersToScopeSpecifier(KWLoc, SS,
|
||||
(TemplateParameterList**)TemplateParameterLists.get(),
|
||||
TemplateParameterLists.size(),
|
||||
TemplateParameterLists.get(),
|
||||
TemplateParameterLists.size(),
|
||||
TUK == TUK_Friend,
|
||||
isExplicitSpecialization,
|
||||
Invalid)) {
|
||||
|
@ -6262,7 +6262,7 @@ FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation FriendLoc,
|
||||
/// parameters present at all, require proper matching, i.e.
|
||||
/// template <> template <class T> friend class A<int>::B;
|
||||
Decl *Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
|
||||
MultiTemplateParamsArg TempParams) {
|
||||
MultiTemplateParamsArg TempParams) {
|
||||
SourceLocation Loc = DS.getSourceRange().getBegin();
|
||||
|
||||
assert(DS.isFriendSpecified());
|
||||
@ -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…
x
Reference in New Issue
Block a user