diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2013-06-18 22:41:37 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2013-06-18 22:41:37 +0000 |
commit | 0601700e8d8e8d0f42bea1c0137c04e8c8ae5ac3 (patch) | |
tree | e71d10923c49a5e48254aaaf056a200e824ee635 /test/CodeGenObjCXX/catch-id-type.mm | |
parent | 7e5e2d0c53b1b7253621d955089c0d14fe2a8078 (diff) | |
download | clang-0601700e8d8e8d0f42bea1c0137c04e8c8ae5ac3.tar.gz |
Introduce a new mangling for protocol-qualified ObjC types in C++. This allows
to provide proper overloading, and also prevents mangling conflicts with
template arguments of protocol-qualified type.
This is a non-backward-compatible mangling change, but per discussion with
John, the benefits outweigh this cost.
Fixes <rdar://problem/14074822>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX/catch-id-type.mm')
-rw-r--r-- | test/CodeGenObjCXX/catch-id-type.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenObjCXX/catch-id-type.mm b/test/CodeGenObjCXX/catch-id-type.mm index 2d6cccc0f1..0a2b940ff1 100644 --- a/test/CodeGenObjCXX/catch-id-type.mm +++ b/test/CodeGenObjCXX/catch-id-type.mm @@ -31,7 +31,7 @@ id FUNC() { catch( id error ) { // CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) - // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIP4INTF to i8*) + // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIPU11objcproto1P4INTF to i8*) // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIP11objc_object to i8*) // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIP10objc_class to i8*) error = error; |