}
else
size_id = get_constant_id(get_standard_type_id(BasicTypeDeclaration::INT, 1), 1);
- return get_array_type_id(*basic->base_type, size_id, true);
+ return get_array_type_id(*basic->base_type, size_id, basic->extended_alignment);
}
return get_id(*var.type_declaration);
kind(other.kind),
size(other.size),
sign(other.sign),
+ extended_alignment(other.extended_alignment),
base(other.base)
// Do not copy base type
{ }
StructDeclaration::StructDeclaration(const StructDeclaration &other):
TypeDeclaration(other),
- members(other.members)
+ members(other.members),
+ extended_alignment(other.extended_alignment)
// Do not copy interface block
{ }