aboutsummaryrefslogtreecommitdiff
path: root/tests/compound-assignment.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-05 19:42:44 -0700
committerMichael Forney <mforney@mforney.org>2019-04-06 12:01:51 -0700
commita8961c59fcc0c92806af1853b93c1bc69259ce5f (patch)
tree6b09b6a4ada1f153a02f82c1d6244b156e532f19 /tests/compound-assignment.c
parent952b5b29818a1f9c36736c7d04f03309a4e1b5a5 (diff)
Track type qualifiers separately
Using a special qualified type kind has a number of problems: - Important fields such as size, align, and incomplete may not be set, since the qualified type was created before a struct was completed. - When we don't care about type qualifiers (which is the usual case), we have to explicitly unqualify the type which is annoying and error-prone. Instead, in derived types, keep track of the qualifiers of the base type alongside the base type (similar to what is done for members, parameters, declarations, and expressions in the past few commits).
Diffstat (limited to 'tests/compound-assignment.c')
0 files changed, 0 insertions, 0 deletions