[cfe-commits] r45189 - /cfe/trunk/Sema/SemaDecl.cpp

Chris Lattner sabre at nondot.org
Tue Dec 18 21:38:06 PST 2007


Author: lattner
Date: Tue Dec 18 23:38:06 2007
New Revision: 45189

URL: http://llvm.org/viewvc/llvm-project?rev=45189&view=rev
Log:
fix broken assert.

Modified:
    cfe/trunk/Sema/SemaDecl.cpp

Modified: cfe/trunk/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaDecl.cpp?rev=45189&r1=45188&r2=45189&view=diff

==============================================================================
--- cfe/trunk/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/Sema/SemaDecl.cpp Tue Dec 18 23:38:06 2007
@@ -1747,7 +1747,7 @@
   
   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))





More information about the cfe-commits mailing list