aboutsummaryrefslogtreecommitdiff
path: root/util.c
AgeCommit message (Collapse)Author
2021-10-03util: Don't error on NULL from malloc if requested size was 0Michael Forney
It is implementation-defined whether malloc returns NULL or some pointer when the size is 0, so we don't want to error out if the implementation chose NULL.
2020-03-17pp: Add support for macro definition and expansionMichael Forney
The token pasting operator `##` still needs to be implemented.
2020-01-30decl: Use list link to determine presence in tentative definition listMichael Forney
2020-01-30util: Remove unused listinsertlistMichael Forney
2019-02-12Fix nested arraysMichael Forney
We need to traverse the type hierarchy from inside to out to calculate size/alignment of arrays.
2019-02-12Initial importMichael Forney