]> granicus.if.org Git - clang/commitdiff
silence a warning by treating ocuvectors the same as vectors.
authorChris Lattner <sabre@nondot.org>
Thu, 19 Jul 2007 05:13:51 +0000 (05:13 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Jul 2007 05:13:51 +0000 (05:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40037 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CodeGenTypes.cpp

index 22ee50466238734a77953c2bdc76cce5271f2ffc..b376a310093b22f85f829bf25cedb6ee149b08c5 100644 (file)
@@ -93,6 +93,7 @@ const llvm::Type *CodeGenTypes::ConvertType(QualType T) {
       assert(0 && "FIXME: VLAs not implemented yet!");
     }
   }
+  case Type::OCUVector:
   case Type::Vector: {
     const VectorType &VT = cast<VectorType>(Ty);
     return llvm::VectorType::get(ConvertType(VT.getElementType()),