From: Chris Lattner Date: Thu, 8 Nov 2007 17:56:40 +0000 (+0000) Subject: Fix backwards assert. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ef5bc03d0bfc05fd76fc83beeb1b7ddbbb463da;p=clang Fix backwards assert. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43894 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }