summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-17 19:08:08 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-17 19:08:08 +0000
commitd3612399c51c90a0758332454f2440cc101cb138 (patch)
tree61b3f3c9cd154aa37345647b49862c1c1949ec37 /clang/lib/Sema/SemaDeclObjC.cpp
parente4e018ae673ebc9d4b0f65856bad7b9d50980e1b (diff)
downloadbcm5719-llvm-d3612399c51c90a0758332454f2440cc101cb138.tar.gz
bcm5719-llvm-d3612399c51c90a0758332454f2440cc101cb138.zip
Start support of weak_import objective-c classes.
(Radar 6815425). llvm-svn: 89124
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclObjC.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp
index d1b40bed0fd..a5fdb8725c8 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud