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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
ASTMerge
/
init-ctors
/
Inputs
/
init-ctors-classes.cpp
blob
fd51f860634b5a489c5f82fdf6b9f978fb50da97
1
class
A_base
2
{
3
public
:
4
int
x
;
5
A_base
() :
x
(
0
) {
6
}
7
A_base
(
int
_x
) :
x
(
static_cast
<
int
>(
_x
)) {
8
}
9
};
10
11
class
A
:
public
A_base
12
{
13
public
:
14
int
y
;
15
struct
{
int
z
; };
16
int
array
[
2
];
17
A
(
int
_x
) :
A_base
(
_x
),
y
(
0
),
z
(
1
),
array
{{
2
},{
3
}} {
18
}
19
};