Fix OCUVector case in struct layout code.

llvm-svn: 45396
This commit is contained in:
Christopher Lamb
2007-12-29 05:10:55 +00:00
parent d91c3d4926
commit c5fafa211a

View File

@@ -200,7 +200,8 @@ ASTContext::getTypeInfo(QualType T, SourceLocation L) {
Size = EltInfo.first*CAT->getSize().getZExtValue();
Align = EltInfo.second;
break;
}
}
case Type::OCUVector:
case Type::Vector: {
std::pair<uint64_t, unsigned> EltInfo =
getTypeInfo(cast<VectorType>(T)->getElementType(), L);