]> granicus.if.org Git - clang/commitdiff
Fix backwards assert.
authorChris Lattner <sabre@nondot.org>
Thu, 8 Nov 2007 17:56:40 +0000 (17:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Nov 2007 17:56:40 +0000 (17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43894 91177308-0d34-0410-b5e6-96231b3b80d8

AST/Expr.cpp

index ffb34f59cad25d0db0c995b583c6de1ab4ff9de3..f323dffb1ce5ae92e37a8dca23b7f36f3fc33b44 100644 (file)
@@ -149,7 +149,7 @@ bool CallExpr::isBuiltinClassifyType(llvm::APSInt &Result) const {
       else if (argType->isUnionType())
         Result = union_type_class;
       else  // FIXME: offset_type_class, method_type_class, & lang_type_class?
-        assert(1 && "CallExpr::isBuiltinClassifyType(): unimplemented type");
+        assert(0 && "CallExpr::isBuiltinClassifyType(): unimplemented type");
     }
     return true;
   }