This reverts commit d618f1c3b12effd0c2bdb7d02108d3551f389d3d. This commit wasn't reviewed ahead of time and significant concerns were raised immediately after it landed. According to our developer policy this warrants immediate revert of the commit. https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Differential Revision: https://reviews.llvm.org/D155509
13 lines
308 B
Objective-C
13 lines
308 B
Objective-C
// rdar://6657613
|
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
|
|
|
|
@class C;
|
|
|
|
// CHECK: _Z1fP11objc_object
|
|
// CHECK-NOT: _Z1fP11objc_object
|
|
void __attribute__((overloadable)) f(id c) { }
|
|
|
|
// CHECK: _Z1fP1C
|
|
// CHECK-NOT: _Z1fP1C
|
|
void __attribute__((overloadable)) f(C *c) { }
|