diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-17 19:08:08 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-17 19:08:08 +0000 |
commit | 5f8f8571c52dbf12fdefb15d2fedbcccb212c15c (patch) | |
tree | 2a7762dc74073ca08aa8c344e9d34279de943c0f /lib/Sema/SemaDeclObjC.cpp | |
parent | b0887562894b387d658893033ccb475f12b5ceec (diff) |
Start support of weak_import objective-c classes.
(Radar 6815425).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index d1b40bed0f..a5fdb8725c 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -112,6 +112,8 @@ ActOnStartClassInterface(SourceLocation AtInterfaceLoc, IDecl->setLocation(AtInterfaceLoc); IDecl->setForwardDecl(false); IDecl->setClassLoc(ClassLoc); + if (AttrList) + ProcessDeclAttributeList(TUScope, IDecl, AttrList); } } else { IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, |