[llvm-commits] [llvm] r95557 - /llvm/trunk/include/llvm/Type.h

Duncan Sands baldrick at free.fr
Mon Feb 8 12:58:22 PST 2010


Hi Chris,

> Why not just use isa<PointerType>?
> 
> This encourages code to diverge in style.

since there already is isFloat, isInteger and variations, it seems odd not
to have these too.  Of course, I could just delete all the guys with an "isa"
version.  What do you think?

Ciao,

Duncan.



More information about the llvm-commits mailing list