mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -3211,7 +3211,7 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
|
||||
} else if (auto likeArrayTypeAndCount = attr->getResolvedArrayLikeTypeAndCount()) {
|
||||
typeID = S.addTypeRef(likeArrayTypeAndCount->first);
|
||||
rawSize = likeArrayTypeAndCount->second;
|
||||
rawAlign = ~0u;
|
||||
rawAlign = static_cast<uint8_t>(~0u);
|
||||
} else {
|
||||
llvm_unreachable("unhandled raw layout attribute, or trying to serialize unresolved attr!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user