summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-07 16:53:43 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-07 16:53:43 +0000
commitafb9bc10fabd606d6b34a652886ec7f9a76a6cd9 (patch)
tree9e956bd2db90f4e69451e608db3baf211bdb7945 /clang/lib/Sema/Sema.h
parentf2351a7a6ef01558361b8db7add955a1982aa10c (diff)
downloadbcm5719-llvm-afb9bc10fabd606d6b34a652886ec7f9a76a6cd9.tar.gz
bcm5719-llvm-afb9bc10fabd606d6b34a652886ec7f9a76a6cd9.zip
Split Sema::ActOnFriendTypeDecl into Sema::CheckFriendTypeDecl (for
semantic analysis) and Sema::ActOnFriendTypeDecl (the action callback). This is a prerequisite for improving template instantiation of friend type declarations. llvm-svn: 100633
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 5394f06985d..c93acf69461 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2530,6 +2530,8 @@ public:
ExprArg AssertExpr,
ExprArg AssertMessageExpr);
+ FriendDecl *CheckFriendTypeDecl(SourceLocation FriendLoc,
+ TypeSourceInfo *TSInfo);
DeclPtrTy ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
MultiTemplateParamsArg TemplateParams);
DeclPtrTy ActOnFriendFunctionDecl(Scope *S, Declarator &D, bool IsDefinition,
OpenPOWER on IntegriCloud