forked from OSchip/llvm-project
get rid of windows warning:
warning C4800: forcing value to bool 'true' or 'false' (performance warning) llvm-svn: 180851
This commit is contained in:
parent
9f3bc6cd35
commit
d4b816d51c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue