mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
get rid of windows warning:
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
This commit is contained in:
parent
ae2a1dacb7
commit
dc42e3d831
@ -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…
x
Reference in New Issue
Block a user