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
/
Modules
/
Inputs
/
thread-safety
/
c.h
blob
ec849c2250a3bbcad13a208c5c11f6488984ff81
1
#include
"a.h"
2
3
struct
X
{
4
mutex m
;
5
int
n
__attribute__
((
guarded_by
(
m
)));
6
7
void
f
();
8
};
9
10
inline
void
unlock
(
X
&
x
)
__attribute__
((
unlock_function
(
x
.
m
))) {
x
.
m
.
unlock
(); }