mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Fix OCUVector case in struct layout code.
llvm-svn: 45396
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user