Implement dependent layouts for raw types

Update raw_layout.swift

Allow for concrete specializations of raw layout

Make test platform agnostic
This commit is contained in:
Alejandro Alonso
2023-07-29 17:01:54 -07:00
parent 984b4f2387
commit df17f7be90
16 changed files with 298 additions and 30 deletions

View File

@@ -512,7 +512,7 @@ namespace {
}
StructLayout performLayout(ArrayRef<const TypeInfo *> fieldTypes) {
return StructLayout(IGM, /*decl=*/nullptr, LayoutKind::NonHeapObject,
return StructLayout(IGM, /*type=*/ llvm::None, LayoutKind::NonHeapObject,
LayoutStrategy::Universal, fieldTypes);
}
};