Files
swift-mirror/lib/IRGen/StructMetadataVisitor.h
susmonteiro 2e66b84e9f [cxx-interop] Ensure field offset vector matches the structs/fields metadata
The field offset vector should be consistent with the type metadata emitted for structs and fields. If we don't emit metadata for private C++ fields, then the field offset vector shouldn't include these fields.

This is a follow-up to https://github.com/swiftlang/swift/pull/81838/https://github.com/swiftlang/swift/pull/81740
(cherry picked from c3077bfedb and 7686f05f28)
2025-05-30 13:12:47 +01:00

3.7 KiB