summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-17 22:26:49 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-17 22:26:49 +0000
commitb5176a5328fbee9c0dfaa12fe485a8bbc12e98f7 (patch)
tree38e3785e6295d24ea40565942706be68928f7dcc /clang/test
parentc3dfb5fa89a88ea7e1ec37d5bfde66dbbf0dc738 (diff)
downloadbcm5719-llvm-b5176a5328fbee9c0dfaa12fe485a8bbc12e98f7.tar.gz
bcm5719-llvm-b5176a5328fbee9c0dfaa12fe485a8bbc12e98f7.zip
Objective-C++ ARC: do not mangle __unsafe_unretained lifetime
qualifiers, so that an __unsafe_unretained-qualified type T in ARC code will have the same mangling as T in non-ARC code, improving ABI interoperability. This works now because we infer or require a lifetime qualifier everywhere one can appear in an external interface. Another part of <rdar://problem/9595486>. llvm-svn: 133306
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGenObjCXX/arc-mangle.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjCXX/arc-mangle.mm b/clang/test/CodeGenObjCXX/arc-mangle.mm
index 628144f04c1..20af4dfccae 100644
--- a/clang/test/CodeGenObjCXX/arc-mangle.mm
+++ b/clang/test/CodeGenObjCXX/arc-mangle.mm
@@ -6,7 +6,7 @@ void f(__strong id *) {}
void f(__weak id *) {}
// CHECK: define void @_Z1fPU15__autoreleasingP11objc_object(i8**)
void f(__autoreleasing id *) {}
-// CHECK: define void @_Z1fPU19__unsafe_unretainedP11objc_object(i8**)
+// CHECK: define void @_Z1fPP11objc_object(i8**)
void f(__unsafe_unretained id *) {}
// CHECK: define void @_Z1fPKU8__strongP11objc_object(i8**)
void f(const __strong id *) {}
@@ -14,7 +14,7 @@ void f(const __strong id *) {}
void f(const __weak id *) {}
// CHECK: define void @_Z1fPKU15__autoreleasingP11objc_object(i8**)
void f(const __autoreleasing id *) {}
-// CHECK: define void @_Z1fPKU19__unsafe_unretainedP11objc_object(i8**)
+// CHECK: define void @_Z1fPKP11objc_object(i8**)
void f(const __unsafe_unretained id *) {}
OpenPOWER on IntegriCloud