From 5c09a02a5db85e08a432b6eeced9aa656349710d 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45396 91177308-0d34-0410-b5e6-96231b3b80d8 --- AST/ASTContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp index 31d9255a4b..3aead2f931 100644 --- a/AST/ASTContext.cpp +++ b/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); -- 2.40.0