diff options
| author | Alex Denisov <1101.debian@gmail.com> | 2015-06-26 05:28:36 +0000 |
|---|---|---|
| committer | Alex Denisov <1101.debian@gmail.com> | 2015-06-26 05:28:36 +0000 |
| commit | fde64956f95c4f8733423be393281d8461a99447 (patch) | |
| tree | 5767784a7a1b175d02f7a94e6da29dc83340b53e /llvm/lib | |
| parent | b41c0b44af467c9112b696077afa67dc0ad79b5a (diff) | |
| download | bcm5719-llvm-fde64956f95c4f8733423be393281d8461a99447.tar.gz bcm5719-llvm-fde64956f95c4f8733423be393281d8461a99447.zip | |
[ObjC] Add NSValue support for objc_boxed_expressions
Patch extends ObjCBoxedExpr to accept records (structs and unions):
typedef struct __attribute__((objc_boxable)) _Color {
int r, g, b;
} Color;
Color color;
NSValue *boxedColor = @(color); // [NSValue valueWithBytes:&color objCType:@encode(Color)];
llvm-svn: 240761
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

