blob: 0fb081b18feaf87c0cccd2d3e29fdaf993717996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
enum declarationkind {
DECLTYPE,
DECLOBJECT,
DECLFUNC,
DECLCONST,
DECLBUILTIN,
};
enum linkage {
LINKNONE,
LINKINTERN,
LINKEXTERN,
};
struct declaration {
enum declarationkind kind;
enum linkage linkage;
struct type *type;
struct value *value;
struct list link;
int align; /* may be more strict than type requires */
_Bool tentative, defined;
};
struct scope;
struct function;
extern struct declaration builtinvalist;
extern struct declaration builtinvastart;
extern struct declaration builtinvaarg;
extern struct declaration builtinvacopy;
extern struct declaration builtinvaend;
extern struct declaration builtinoffsetof;
extern struct declaration builtinalloca;
struct declaration *mkdecl(enum declarationkind, struct type *, enum linkage);
_Bool decl(struct scope *, struct function *);
struct type *typename(struct scope *);
struct expression;
struct declaration *stringdecl(struct expression *);
void emittentativedefns(void);
|