diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-21 00:56:07 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-21 01:06:39 -0700 |
commit | 9463599fdf38b50afcc68f568cf6ad682428ce74 (patch) | |
tree | 8ab77f6d3984f197ab705003653f3e0e3eb5a5a5 /cc.h | |
parent | 220ec69d2c45b4ab234bf39d227954e49a264e31 (diff) |
Keep track of type properties in type
Diffstat (limited to 'cc.h')
-rw-r--r-- | cc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -188,6 +188,7 @@ struct member { struct type { enum typekind kind; + enum typeprop prop; int align; uint64_t size; struct repr *repr; @@ -390,7 +391,7 @@ _Bool consume(int); /* type */ -struct type *mktype(enum typekind); +struct type *mktype(enum typekind, enum typeprop); struct type *mkpointertype(struct type *, enum typequal); struct type *mkarraytype(struct type *, enum typequal, uint64_t); |