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
/
class
/
Inputs
/
class1.cpp
blob
2bd5503ecf3d50fb7d1c78e2f359eb0821b80ae3
1
struct
A
{
2
public
:
3
int
x
;
4
};
5
6
struct
B
:
A
{
7
float
y
;
8
float
foo
();
9
};
10
11
struct
C
{
12
C
(
int
i
=
10
);
13
C
(
const
C
&);
14
C
&
operator
=(
C
&);
15
~
C
();
16
};
17
18
enum
E
{
19
b
=
1
20
};
21
22
//Friend import tests
23
void
f
();
24
int
g
(
int
a
);
25
struct
X
;
26
struct
Y
;
27
28
struct
F1
{
29
public
:
30
int
x
;
31
friend
struct
X
;
32
friend
int
g
(
int
);
33
friend
void
f
();
34
};
35
36
struct
F2
{
37
public
:
38
int
x
;
39
friend
struct
X
;
40
friend
void
f
();
41
};
42
43
struct
F3
{
44
public
:
45
int
x
;
46
friend
int
g
(
int
);
47
friend
void
f
();
48
};