[cfe-commits] r45396 - /cfe/trunk/AST/ASTContext.cpp
Christopher Lamb
christopher.lamb at gmail.com
Fri Dec 28 21:10:55 PST 2007
Author: clamb
Date: Fri Dec 28 23:10:55 2007
New Revision: 45396
URL: http://llvm.org/viewvc/llvm-project?rev=45396&view=rev
Log:
Fix OCUVector case in struct layout code.
Modified:
cfe/trunk/AST/ASTContext.cpp
Modified: cfe/trunk/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/ASTContext.cpp?rev=45396&r1=45395&r2=45396&view=diff
==============================================================================
--- cfe/trunk/AST/ASTContext.cpp (original)
+++ cfe/trunk/AST/ASTContext.cpp Fri Dec 28 23:10:55 2007
@@ -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);
More information about the cfe-commits
mailing list