OSDN Git Service

Roll back rev 59890, since Chris says this can never happen.
authorScott Michel <scottm@aero.org>
Sun, 23 Nov 2008 19:22:48 +0000 (19:22 +0000)
committerScott Michel <scottm@aero.org>
Sun, 23 Nov 2008 19:22:48 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59914 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Casting.h

index c441626..48988f8 100644 (file)
@@ -98,7 +98,7 @@ template<class FromCl>
 struct isa_impl_cl<FromCl*> {
   template<class ToCl>
   static bool isa(FromCl *Val) {
-    return (Val != 0 && isa_impl_cl<FromCl>::template isa<ToCl>(*Val));
+    return isa_impl_cl<FromCl>::template isa<ToCl>(*Val);
   }
 };