diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-04-02 23:48:59 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-04-02 23:48:59 +0000 |
commit | 896ae920d593bb96fad961f7594c68a5362316b0 (patch) | |
tree | 005868f2c751ca518fff05dee09eb76ec9df6618 /clang/test/FixIt | |
parent | 235af9c1f53a34df90a0fd8ffad36976fccd487f (diff) | |
download | llvm-896ae920d593bb96fad961f7594c68a5362316b0.zip llvm-896ae920d593bb96fad961f7594c68a5362316b0.tar.gz llvm-896ae920d593bb96fad961f7594c68a5362316b0.tar.bz2 |
Objective-C arc [qui]. Don't issue the bridge cast
warning when doing a __bride cast in non-arc
mode (which has no retain count effect).
// rdar://13514210
llvm-svn: 178592
Diffstat (limited to 'clang/test/FixIt')
-rw-r--r-- | clang/test/FixIt/bridge-in-non-arc.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/FixIt/bridge-in-non-arc.m b/clang/test/FixIt/bridge-in-non-arc.m index 948fa8e..b4d2677 100644 --- a/clang/test/FixIt/bridge-in-non-arc.m +++ b/clang/test/FixIt/bridge-in-non-arc.m @@ -4,9 +4,9 @@ @end void foo(void *p) { - I *i = (__bridge I*)p; - I *i2 = (__bridge/*cake*/I*)p; + I *i = (__bridge_transfer I*)p; + I *i2 = (__bridge_transfer/*cake*/I*)p; } -// CHECK: {7:11-7:20}:"" -// CHECK: {8:12-8:20}:"" +// CHECK: {7:11-7:29}:"" +// CHECK: {8:12-8:29}:"" |