summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-12-29 05:10:55 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-12-29 05:10:55 +0000
commitc5fafa211a597e749fc0458a961245326062a0a3 (patch)
treef469dc2cd1fe7f22ea981fd318e72119cea81c59
parentd91c3d49266b031eca7085623c344c70b76d3538 (diff)
downloadbcm5719-llvm-c5fafa211a597e749fc0458a961245326062a0a3.tar.gz
bcm5719-llvm-c5fafa211a597e749fc0458a961245326062a0a3.zip
Fix OCUVector case in struct layout code.
llvm-svn: 45396
-rw-r--r--clang/AST/ASTContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/AST/ASTContext.cpp b/clang/AST/ASTContext.cpp
index 31d9255a4ba..3aead2f9311 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<uint64_t, unsigned> EltInfo =
getTypeInfo(cast<VectorType>(T)->getElementType(), L);
OpenPOWER on IntegriCloud