Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2023-07-27 16:56:57 -07:00
13 changed files with 80 additions and 79 deletions

View File

@@ -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!");
}