flag types defined as unions
commit9060981c10c21834596d5677a2c9ccc56809eb64
authorQuentin Carbonneaux <quentin@c9x.me>
Tue, 8 Mar 2022 14:49:01 +0000 (8 15:49 +0100)
committerQuentin Carbonneaux <quentin@c9x.me>
Tue, 8 Mar 2022 14:57:06 +0000 (8 15:57 +0100)
tree2fe18c42b4c435a15612abdc4ce836d5860cdfa2
parent349794f3e4f11e4cc34a501ba935a2a305229738
flag types defined as unions

The risc-v abi needs to know if a
type is defined as a union or not.

We cannot use nunion to obtain this
information because the risc-v abi
made the unfortunate decision of
treating

union { int i; }

differently from

int i;

So, instead, I introduce a single
bit flag 'isunion'.
all.h
amd64/sysv.c
arm64/abi.c
parse.c
rv64/abi.c