commit | 7be34f4c71849160496fc33f5e7a1a150e9d0add | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Aug 11 21:13:21 2009 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Aug 11 21:13:21 2009 +0000 |
tree | 0733e013e1f2e7eb3a4788633ada2beda5d74bbc | |
parent | cc5b59a9023ef9b04577418556c95401b93bae8a [diff] [blame] |
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
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 0f7c4dc..8296f29 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp
@@ -199,6 +199,7 @@ case ObjCCompatibleAlias: return IDNS_Ordinary; + case FriendClass: case FriendFunction: return IDNS_Friend;