aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-19 05:38:06 +0000
committerChris Lattner <sabre@nondot.org>2007-12-19 05:38:06 +0000
commit54b263b0d499b758d57cb3e08fae34ed768842b5 (patch)
tree478b9e2b0b34ff9bca7d26f5b26a6576527446de
parentcd8812948bc8a65dcf10c541c1775e5ba44def6c (diff)
fix broken assert.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45189 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp
index c3726725f8..cf52817cb9 100644
--- a/Sema/SemaDecl.cpp
+++ b/Sema/SemaDecl.cpp
@@ -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))