forked from OSchip/llvm-project
objc modern translator: fix up attribute for dynamic property in a category.
// rdar://11095151 llvm-svn: 156127
This commit is contained in:
parent
0da530562a
commit
e9863b5c8e
|
@ -7160,7 +7160,7 @@ void RewriteModernObjC::RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl,
|
|||
ClassProperties.push_back(&*I);
|
||||
|
||||
Write_prop_list_t_initializer(*this, Context, Result, ClassProperties,
|
||||
/* Container */0,
|
||||
/* Container */IDecl,
|
||||
"_OBJC_$_PROP_LIST_",
|
||||
FullCategoryName);
|
||||
|
||||
|
|
|
@ -33,3 +33,13 @@ typedef void (^void_block_t)(void);
|
|||
// CHECK: T@?,C,V__completion
|
||||
// CHECK: T@\"PropertyClass\",&,VYVAR
|
||||
|
||||
@interface Test @end
|
||||
@interface Test (Category)
|
||||
@property int q;
|
||||
@end
|
||||
|
||||
@implementation Test (Category)
|
||||
@dynamic q;
|
||||
@end
|
||||
|
||||
// CHECK: {{"q","Ti,D"}}
|
||||
|
|
Loading…
Reference in New Issue