diff options
Diffstat (limited to 'src/hir/hir.hpp')
-rw-r--r-- | src/hir/hir.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir/hir.hpp b/src/hir/hir.hpp index 33200e96..fc4a19e8 100644 --- a/src/hir/hir.hpp +++ b/src/hir/hir.hpp @@ -267,6 +267,8 @@ public: C, Packed, Simd, + Aligned, // Alignment stored elsewhere + Transparent, }; TAGGED_UNION(Data, Unit, (Unit, struct {}), @@ -277,10 +279,12 @@ public: GenericParams m_params; Repr m_repr; Data m_data; + unsigned m_forced_alignment = 0; TraitMarkings m_markings; StructMarkings m_struct_markings; }; +extern ::std::ostream& operator<<(::std::ostream& os, const Struct::Repr& x); class Union { public: |