From 2cd91804ec4d631cc432dac2828d8ee0b1a3390f Mon Sep 17 00:00:00 2001 From: Scott Michel Date: Sun, 23 Nov 2008 19:22:48 +0000 Subject: [PATCH] Roll back rev 59890, since Chris says this can never happen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59914 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Casting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index c441626216f..48988f8a6bb 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -98,7 +98,7 @@ template struct isa_impl_cl { template static bool isa(FromCl *Val) { - return (Val != 0 && isa_impl_cl::template isa(*Val)); + return isa_impl_cl::template isa(*Val); } };