aboutsummaryrefslogtreecommitdiff
path: root/expr.c
AgeCommit message (Collapse)Author
2019-02-17Ensure right number of arguments to non-prototype function definitionsMichael Forney
2019-02-15Don't embed anonymous struct members into parentMichael Forney
While this works nicely for structs, when unions are involved it makes it impossible to find the next member to initialize without keeping track of extra data per member.
2019-02-15Fix hex escape in char literals.Andrew Chambers
2019-02-14When subtracting pointers, divide after subtractionMichael Forney
The pointers might be global addresses, and it doesn't make sense to divide them before subtracting.
2019-02-13Fix decay on qualified array typesMichael Forney
2019-02-13Fold constexpr function into intconstexprMichael Forney
We usually only care about integer constant expressions, and when we parse initializers, we need to handle non-constant expressions too, so we call eval explicitly when emitting global data.
2019-02-13Add some missing lvalue conversionsMichael Forney
2019-02-13Implement __builtin_va_argMichael Forney
2019-02-13expr: Perform lvalue conversion on array and index in subscript expressionsMichael Forney
2019-02-12Fix adding pointer to integerMichael Forney
2019-02-12Allow overflow/underflow when parsing floating constantsMichael Forney
2019-02-12Initial importMichael Forney