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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Index
/
targeted-top.h
blob
0f3c97586e41fa3c8cb8d6564b562919564809c9
1
2
#ifndef TARGETED_TOP_H
3
#define TARGETED_TOP_H
4
5
#include
"targeted-nested1.h"
6
7
enum
{
8
VALUE
=
3
9
};
10
11
extern
int
TopVar
;
12
13
typedef
struct
{
14
int
x
;
15
int
y
;
16
#include
"targeted-fields.h"
17
}
Vector
;
18
19
static
inline
int
vector_get_x
(
Vector v
) {
20
int
x
=
v
.
x
;
21
return
x
;
22
}
23
24
#endif