annotate clang/test/CodeGenObjC/debug-info-default-synth-ivar.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1f2b6ac9f198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o %t
150
anatofuz
parents:
diff changeset
2 // RUN: grep DW_TAG_member %t | count 5
anatofuz
parents:
diff changeset
3 // rdar://8493239
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 @class NSString;
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 @interface InstanceVariablesEverywhereButTheInterface
anatofuz
parents:
diff changeset
8 @end
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 @interface InstanceVariablesEverywhereButTheInterface()
anatofuz
parents:
diff changeset
11 {
anatofuz
parents:
diff changeset
12 NSString *_someString;
anatofuz
parents:
diff changeset
13 }
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 @property(readonly) NSString *someString;
anatofuz
parents:
diff changeset
16 @property(readonly) unsigned long someNumber;
anatofuz
parents:
diff changeset
17 @end
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 @implementation InstanceVariablesEverywhereButTheInterface
anatofuz
parents:
diff changeset
20 {
anatofuz
parents:
diff changeset
21 unsigned long _someNumber;
anatofuz
parents:
diff changeset
22 }
anatofuz
parents:
diff changeset
23 @synthesize someString = _someString, someNumber = _someNumber;
anatofuz
parents:
diff changeset
24 @end
anatofuz
parents:
diff changeset
25
anatofuz
parents:
diff changeset
26 @interface AutomaticSynthesis
anatofuz
parents:
diff changeset
27 {
anatofuz
parents:
diff changeset
28 int real_ivar;
anatofuz
parents:
diff changeset
29 }
anatofuz
parents:
diff changeset
30 @property(copy) NSString *someString;
anatofuz
parents:
diff changeset
31 @property unsigned long someNumber;
anatofuz
parents:
diff changeset
32 @end
anatofuz
parents:
diff changeset
33
anatofuz
parents:
diff changeset
34 @implementation AutomaticSynthesis
anatofuz
parents:
diff changeset
35 @end