[llvm-commits] [llvm] r59890 - /llvm/trunk/include/llvm/Support/Casting.h

Duncan Sands baldrick at free.fr
Sun Nov 23 01:02:21 PST 2008


Hi Scott,

> Check for NULL before traversing the isa<> type hierarchy checking with a
> NULL-based reference.

I'm not sure this is a good idea.  Passing NULL to isa<>
sounds like a bug to me.  Before you would notice it, but
now I fear bugs will be hidden.

Ciao,

D.



More information about the llvm-commits mailing list