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/Object/COFFObjectFile.cpp | |
parent | b41c0b44af467c9112b696077afa67dc0ad79b5a (diff) | |
download | llvm-fde64956f95c4f8733423be393281d8461a99447.zip llvm-fde64956f95c4f8733423be393281d8461a99447.tar.gz llvm-fde64956f95c4f8733423be393281d8461a99447.tar.bz2 |
[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/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions