From 3ef5bc03d0bfc05fd76fc83beeb1b7ddbbb463da Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 Nov 2007 17:56:40 +0000 Subject: [PATCH] Fix backwards assert. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43894 91177308-0d34-0410-b5e6-96231b3b80d8 --- AST/Expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AST/Expr.cpp b/AST/Expr.cpp index ffb34f59ca..f323dffb1c 100644 --- a/AST/Expr.cpp +++ b/AST/Expr.cpp @@ -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; } -- 2.50.1