zig
zig copied to clipboard
Minor follow-up improvements to PR #19227 for aro translate-c
Adds a few minor improvements that didn't make it into #19227. Namely:
- Don't calculate
head_field_alignment
if it isn't used (ie. if there aren't any alignment attributes). - Doc comment added for
alignmentForField()
explaining why it's needed. Also removed specific references tou29
since it seems that Zig's alignment range may change in the future.