[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenObjC / debug-info-default-synth-ivar.m
blobfb2641265bde35d18d0b411c0805f32adfd485c1
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o %t
2 // RUN: grep DW_TAG_member %t | count 5
3 // rdar://8493239
5 @class NSString;
7 @interface InstanceVariablesEverywhereButTheInterface 
8 @end
10 @interface InstanceVariablesEverywhereButTheInterface()
12   NSString *_someString;
15 @property(readonly) NSString *someString;
16 @property(readonly) unsigned long someNumber;
17 @end
19 @implementation InstanceVariablesEverywhereButTheInterface
21   unsigned long _someNumber;
23 @synthesize someString = _someString, someNumber = _someNumber;
24 @end
26 @interface AutomaticSynthesis
28   int real_ivar;
30 @property(copy) NSString *someString;
31 @property unsigned long someNumber;
32 @end
34 @implementation AutomaticSynthesis
35 @end