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); } };