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
/
Modules
/
Inputs
/
odr
/
a.h
blob
5a3f52409486ea577890016f9d1206ea319a8b80
1
extern
struct
Y
{
2
int
n
;
3
float
f
;
4
}
y1
;
5
enum
E
{
e1
};
6
7
struct
X
{
8
int
n
;
9
}
x1
;
10
11
template
<
typename T
>
12
struct
F
{
13
int
n
;
14
friend
bool
operator
==(
const
F
&
a
,
const
F
&
b
) {
return
a
.
n
==
b
.
n
; }
15
};
16
17
int
f
() {
18
return
y1
.
n
+
e1
+
y1
.
f
+
x1
.
n
;
19
}