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
diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h
index c441626..48988f8 100644
--- a/include/llvm/Support/Casting.h
+++ b/include/llvm/Support/Casting.h
@@ -98,7 +98,7 @@
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);
}
};