Changes in directory llvm/include/llvm:
DerivedTypes.h updated: 1.78 -> 1.79 --- Log message: inline isIntegral to make this method look like classof for all other derived types --- Diffs of the changes: (+3 -1) DerivedTypes.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/llvm/DerivedTypes.h diff -u llvm/include/llvm/DerivedTypes.h:1.78 llvm/include/llvm/DerivedTypes.h:1.79 --- llvm/include/llvm/DerivedTypes.h:1.78 Fri Jan 12 01:05:13 2007 +++ llvm/include/llvm/DerivedTypes.h Fri Jan 12 16:11:53 2007 @@ -103,7 +103,9 @@ // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const IntegerType *T) { return true; } - static inline bool classof(const Type *T) { return T->isIntegral(); } + static inline bool classof(const Type *T) { + return T->getTypeID() == IntegerTyID; + } }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits