aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Casting.h
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-11-23 19:22:48 +0000
committerScott Michel <scottm@aero.org>2008-11-23 19:22:48 +0000
commit2cd91804ec4d631cc432dac2828d8ee0b1a3390f (patch)
tree8a0b2602b1a807ffff586f3ae4abce5e3c5399e0 /include/llvm/Support/Casting.h
parent03228089d5235f8c90477f88809139464e9c6ea5 (diff)
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
Diffstat (limited to 'include/llvm/Support/Casting.h')
-rw-r--r--include/llvm/Support/Casting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h
index c441626216..48988f8a6b 100644
--- a/include/llvm/Support/Casting.h
+++ b/include/llvm/Support/Casting.h
@@ -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);
}
};