[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenObjC / debug-info-objc-property-dwarf5.m
blob2b3a86fe399712b3d707d3866cd9df605aa7ddc0
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s -o - | FileCheck %s
3 @protocol NSObject
4 @end
6 @interface NSObject <NSObject> {}
7 @end
9 struct Bar {};
11 @protocol BarProto
12 @property struct Bar *bar;
13 @end
15 @interface Foo <BarProto>
16 @end
18 @implementation Foo {}
19 @synthesize bar = _bar;
20 - (void)f {}
21 @end
23 // CHECK: ![[FOO:[0-9]+]] = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo"
25 // CHECK: ![[DECL:[0-9]+]] = !DISubprogram(name: "-[Foo setBar:]",
26 // CHECK-SAME:  scope: ![[FOO]]
28 // CHECK: distinct !DISubprogram(name: "-[Foo setBar:]",
29 // CHECK-SAME:  declaration: ![[DECL:[0-9]+]]