]> granicus.if.org Git - clang/commitdiff
fix broken assert.
authorChris Lattner <sabre@nondot.org>
Wed, 19 Dec 2007 05:38:06 +0000 (05:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Dec 2007 05:38:06 +0000 (05:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45189 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaDecl.cpp

index c3726725f8f994d9d1cf1fba1021bac2d26c604e..cf52817cb907e2f2c09732107822ced906f35244 100644 (file)
@@ -1747,7 +1747,7 @@ QualType Sema::HandleVectorTypeAttribute(QualType curType,
   
   if (canonType->isPointerType() || canonType->isArrayType() ||
       canonType->isFunctionType()) {
-    assert(1 && "HandleVector(): Complex type construction unimplemented");
+    assert(0 && "HandleVector(): Complex type construction unimplemented");
     /* FIXME: rebuild the type from the inside out, vectorizing the inner type.
         do {
           if (PointerType *PT = dyn_cast<PointerType>(canonType))