From c5fafa211a597e749fc0458a961245326062a0a3 Mon Sep 17 00:00:00 2001 From: Christopher Lamb Date: Sat, 29 Dec 2007 05:10:55 +0000 Subject: [PATCH] Fix OCUVector case in struct layout code. llvm-svn: 45396 --- clang/AST/ASTContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/AST/ASTContext.cpp b/clang/AST/ASTContext.cpp index 31d9255a4bae..3aead2f93113 100644 --- a/clang/AST/ASTContext.cpp +++ b/clang/AST/ASTContext.cpp @@ -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 EltInfo = getTypeInfo(cast(T)->getElementType(), L);