Commit Graph

3 Commits

Author SHA1 Message Date
Arnold Schwaighofer
3b5ebaa46c Fix some tests in IRGen folder 2023-06-21 10:10:32 -07:00
Arnold Schwaighofer
c1a93e0bde Move tests over to use the %use_no_opaque_pointers option 2023-06-14 10:49:48 -07:00
Dario Rexin
87432bdbe0 [IRGen] Generate proper TypeLayout for singleton enums (#61966)
* [IRGen] Generate proper TypeLayout for singleton enums

rdar://101587387

Instead of creating a proper TypeLayout, we returned the layout for the singleton case, which caused the tags for the nested cases cases to be returned, instead of the expected `0` for singleton enums.

* Forward destroy, copy calls

* Add some missing forwarding cases
2022-11-10 08:55:48 -08:00