Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
This matches how it is done for storage class and function specifier.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The pointers might be global addresses, and it doesn't make sense to
divide them before subtracting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We need to traverse the type hierarchy from inside to out to calculate
size/alignment of arrays.
|
|
|
|
|
|
|
|
|
|
|
|
|