LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
15 lines
285 B
Objective-C
15 lines
285 B
Objective-C
// RUN: %clang_cc1 -S -emit-llvm -g %s -o - | FileCheck %s
|
|
|
|
@interface I1
|
|
// CHECK: !DIObjCProperty(name: "p1"
|
|
// CHECK-SAME: line: [[@LINE+2]]
|
|
// CHECK-SAME: attributes: 2316
|
|
@property int p1;
|
|
@end
|
|
|
|
@implementation I1
|
|
@synthesize p1;
|
|
@end
|
|
|
|
void foo(I1 *iptr) {}
|