[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-inlined.cpp
blob22b60504000ffb9344e26694b5fccae6abbac604
1 // RUN: %clang_cc1 -emit-llvm -triple i686-pc-windows-msvc19.0.24213 -gcodeview -debug-info-kind=limited -std=c++14 %s -o - | FileCheck %s
2 // PR33997.
3 struct WithDtor {
4 ~WithDtor();
5 };
6 struct Base {
7 Base(WithDtor);
8 };
9 class Forward : Base {
10 using Base::Base;
12 class A : Forward {
13 A();
15 class B : Forward {
16 B();
18 A::A() : Forward(WithDtor()) {}
20 B::B() : Forward(WithDtor()) {}
22 // CHECK: define{{.*}}A
23 // CHECK-NOT: {{ ret }}
24 // CHECK: store %class.Forward* %
25 // CHECK-SAME: %class.Forward** %
26 // CHECK-SAME: !dbg ![[INL:[0-9]+]]
28 // CHECK: ![[INL]] = !DILocation(line: 10, column: 15, scope: ![[SP:[0-9]+]], inlinedAt:
29 // CHECK: ![[SP]] = distinct !DISubprogram(name: "Base", {{.*}} DISPFlagDefinition