aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-08-11 06:59:38 +0000
committerJohn McCall <rjmccall@apple.com>2009-08-11 06:59:38 +0000
commit3f9a8a60614b763785d54ad08821745d03a4af70 (patch)
tree4cdd17b3e7e2a8d2f1a65bdc089ea3fa6c95ff24 /include/clang/Parse/Action.h
parentb98b1991c7ad1eaedb863bdbdd784ec164277675 (diff)
Argument-dependent lookup for friend declarations. Add a new decl type,
FriendFunctionDecl, and create instances as appropriate. The design of FriendFunctionDecl is still somewhat up in the air; you can befriend arbitrary types of functions --- methods, constructors, etc. --- and it's not clear that this representation captures that very well. We'll have a better picture when we start consuming this data in access control. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 777f75e5a6..cef378f558 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -1143,7 +1143,8 @@ public:
/// ActOnFriendDecl - This action is called when a friend declaration is
/// encountered.
virtual DeclPtrTy ActOnFriendDecl(Scope *S,
- llvm::PointerUnion<const DeclSpec*,Declarator*> D) {
+ llvm::PointerUnion<const DeclSpec*,Declarator*> D,
+ bool IsDefinition) {
return DeclPtrTy();
}