Vexu / arocc

A C compiler written in Zig.
http://aro.vexu.eu/
MIT License
1.11k stars 57 forks source link

Rework attributes a bit #765

Closed ehaas closed 4 weeks ago

ehaas commented 1 month ago

The main change here is making attributed types nestable instead of trying to merge them into a single level. This fixed a few record tests as well - previously there were cases where attributes could get dropped via multiple layers of typedefs if each added its own attributes.