get rid of windows warning:

warning C4800: forcing value to bool 'true' or 'false' (performance warning)

llvm-svn: 180851
This commit is contained in:
Peng Cheng 2013-05-01 15:00:07 +00:00
parent 9f3bc6cd35
commit d4b816d51c
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public:
/// 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;