[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-member-call.cpp
blob2b60de8aee491108e005ad5186829bcc080c64da
1 // RUN: %clang_cc1 -triple x86_64-unknown_unknown -emit-llvm -debug-info-kind=standalone %s -o - | FileCheck %s
2 void ext();
4 struct Bar {
5 void bar() { ext(); }
6 };
8 struct Foo {
9 Bar *b;
11 Bar *foo() { return b; }
14 void test(Foo *f) {
15 f->foo()->bar();
18 // CHECK-LABEL: @_Z4testP3Foo
19 // CHECK: call {{.*}} @_ZN3Foo3fooEv{{.*}}, !dbg ![[CALL1LOC:.*]]
20 // CHECK: call void @_ZN3Bar3barEv{{.*}}, !dbg ![[CALL2LOC:.*]]
22 // CHECK: ![[CALL1LOC]] = !DILocation(line: [[LINE:[0-9]+]], column: 6,
23 // CHECK: ![[CALL2LOC]] = !DILocation(line: [[LINE]], column: 13,