Fix OCUVector case in struct layout code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45396 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp
index 31d9255..3aead2f 100644
--- a/AST/ASTContext.cpp
+++ b/AST/ASTContext.cpp
@@ -200,7 +200,8 @@
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);