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 | c5fafa211a597e749fc0458a961245326062a0a3 (patch) | |
| tree | f469dc2cd1fe7f22ea981fd318e72119cea81c59 | |
| parent | d91c3d49266b031eca7085623c344c70b76d3538 (diff) | |
| download | bcm5719-llvm-c5fafa211a597e749fc0458a961245326062a0a3.tar.gz bcm5719-llvm-c5fafa211a597e749fc0458a961245326062a0a3.zip  | |
Fix OCUVector case in struct layout code.
llvm-svn: 45396
| -rw-r--r-- | clang/AST/ASTContext.cpp | 3 | 
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);  | 

