diff options
author | John McCall <rjmccall@apple.com> | 2009-08-11 21:13:21 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-08-11 21:13:21 +0000 |
commit | c48fbdfb83a5e50fed693f0bdda3396e5b67051d (patch) | |
tree | 0733e013e1f2e7eb3a4788633ada2beda5d74bbc /lib/AST/DeclBase.cpp | |
parent | bab8a8ee632f0f62b67709a57e2b7ca165205020 (diff) |
Add a FriendClassDecl type for holding declarations of friend types in
the AST, and create such declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 0f7c4dcc0d..8296f2931b 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -199,6 +199,7 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case ObjCCompatibleAlias: return IDNS_Ordinary; + case FriendClass: case FriendFunction: return IDNS_Friend; |