warning C4800: forcing value to bool 'true' or 'false' (performance warning)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180851
91177308-0d34-0410-b5e6-
96231b3b80d8
/// argument type.
static bool isValidArgumentType(Type *ArgTy);
- bool isVarArg() const { return getSubclassData(); }
+ bool isVarArg() const { return getSubclassData()!=0; }
Type *getReturnType() const { return ContainedTys[0]; }
typedef Type::subtype_iterator param_iterator;