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
/
PCH
/
no-escaping-block-tail-calls.h
blob
5d37d904795e14dc62005349ba583593e571d728
1
typedef
int
(^
BlockTy
)(
void
);
2
3
struct
S0
{
4
int
a
;
5
};
6
7
struct
S
{
8
int
i
;
9
void
func
(
BlockTy
__attribute__
((
noescape
)));
10
int
foo
(
S0
&);
11
12
void
m
() {
13
__block S0 x
;
14
func
(^{
return
foo
(
x
); });
15
}
16
};