diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-29 05:10:55 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-29 05:10:55 +0000 |
commit | 5c09a02a5db85e08a432b6eeced9aa656349710d (patch) | |
tree | b666778a25d3446f51817469260fa4f0c0f2a3b0 | |
parent | 22c940ee588a420cd2e6c8f68be2ac3cc80061ff (diff) |
Fix OCUVector case in struct layout code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45396 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | AST/ASTContext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<uint64_t, unsigned> EltInfo = getTypeInfo(cast<VectorType>(T)->getElementType(), L); |