repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
destructor-debug-info.cpp
blob
7b10f8339420d5335df1874e4ea4a5c9c8f7c622
1
// RUN: %clang_cc1 -debug-info-kind=limited -S -emit-llvm %s -o - | FileCheck %s
2
3
class
A
{
int
a
; };
4
class
B
{
5
public
:
6
B
() {
a
=
new
A
; }
7
~
B
() {
delete
a
; }
8
private
:
9
A
*
a
;
10
};
11
12
void
fn
(
B b
);
13
14
int
i
;
15
void
foo
() {
16
if
(
i
) {
17
B b1
;
18
fn
(
b1
);
19
}
20
}
21
// Check there is a line number entry for line 19 where b1 is destructed.
22
// CHECK: !DILocation(line: 19,