Alter Action's friend interface to prepare for templated friend declarations and
to stop making promises we can't currently keep.
llvm-svn: 81571
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 873cc47..d6bc6e5 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2245,12 +2245,9 @@
ExprArg AssertExpr,
ExprArg AssertMessageExpr);
- virtual DeclPtrTy ActOnFriendDecl(Scope *S,
- llvm::PointerUnion<const DeclSpec*,Declarator*> D,
- bool IsDefinition);
- DeclPtrTy ActOnFriendTypeDecl(Scope *S, const DeclSpec& DS,
- bool IsDefinition);
- DeclPtrTy ActOnFriendFunctionDecl(Scope *S, Declarator& D, bool IsDefinition);
+ DeclPtrTy ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS);
+ DeclPtrTy ActOnFriendFunctionDecl(Scope *S, Declarator &D, bool IsDefinition,
+ MultiTemplateParamsArg TemplateParams);
QualType CheckConstructorDeclarator(Declarator &D, QualType R,
FunctionDecl::StorageClass& SC);