[llvm-commits] [llvm] r59914 - /llvm/trunk/include/llvm/Support/Casting.h
Scott Michel
scottm at aero.org
Sun Nov 23 11:22:48 PST 2008
Author: pingbak
Date: Sun Nov 23 13:22:48 2008
New Revision: 59914
URL: http://llvm.org/viewvc/llvm-project?rev=59914&view=rev
Log:
Roll back rev 59890, since Chris says this can never happen.
Modified:
llvm/trunk/include/llvm/Support/Casting.h
Modified: llvm/trunk/include/llvm/Support/Casting.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Casting.h?rev=59914&r1=59913&r2=59914&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Casting.h (original)
+++ llvm/trunk/include/llvm/Support/Casting.h Sun Nov 23 13:22:48 2008
@@ -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);
}
};
More information about the llvm-commits
mailing list