diff options
Diffstat (limited to 'include/llvm/Support/IntegersSubset.h')
-rw-r--r-- | include/llvm/Support/IntegersSubset.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h index b0cfd85a9b..95110ea2c1 100644 --- a/include/llvm/Support/IntegersSubset.h +++ b/include/llvm/Support/IntegersSubset.h @@ -105,30 +105,30 @@ public: // /,/=,>>,>>= are not implemented in APInt. // <<= is implemented for unsigned RHS, but not implemented for APInt RHS. - INT_ITEM_DEFINE_COMPARISON(<, ult); - INT_ITEM_DEFINE_COMPARISON(>, ugt); - INT_ITEM_DEFINE_COMPARISON(<=, ule); - INT_ITEM_DEFINE_COMPARISON(>=, uge); - INT_ITEM_DEFINE_COMPARISON(==, eq); - INT_ITEM_DEFINE_COMPARISON(!=, ne); + INT_ITEM_DEFINE_COMPARISON(<, ult) + INT_ITEM_DEFINE_COMPARISON(>, ugt) + INT_ITEM_DEFINE_COMPARISON(<=, ule) + INT_ITEM_DEFINE_COMPARISON(>=, uge) + INT_ITEM_DEFINE_COMPARISON(==, eq) + INT_ITEM_DEFINE_COMPARISON(!=, ne) - INT_ITEM_DEFINE_BINARY_OP(*); - INT_ITEM_DEFINE_BINARY_OP(+); - INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,+,uint64_t); - INT_ITEM_DEFINE_BINARY_OP(-); - INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,-,uint64_t); - INT_ITEM_DEFINE_BINARY_OP(<<); - INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,<<,unsigned); - INT_ITEM_DEFINE_BINARY_OP(&); - INT_ITEM_DEFINE_BINARY_OP(^); - INT_ITEM_DEFINE_BINARY_OP(|); + INT_ITEM_DEFINE_BINARY_OP(*) + INT_ITEM_DEFINE_BINARY_OP(+) + INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,+,uint64_t) + INT_ITEM_DEFINE_BINARY_OP(-) + INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,-,uint64_t) + INT_ITEM_DEFINE_BINARY_OP(<<) + INT_ITEM_DEFINE_OP_STANDARD_INT(IntItem,<<,unsigned) + INT_ITEM_DEFINE_BINARY_OP(&) + INT_ITEM_DEFINE_BINARY_OP(^) + INT_ITEM_DEFINE_BINARY_OP(|) - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(*=); - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(+=); - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(-=); - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(&=); - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(^=); - INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(|=); + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(*=) + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(+=) + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(-=) + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(&=) + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(^=) + INT_ITEM_DEFINE_ASSIGNMENT_BY_OP(|=) // Special case for <<= IntItem& operator <<= (unsigned RHS) { @@ -139,11 +139,11 @@ public: return *this; } - INT_ITEM_DEFINE_UNARY_OP(-); - INT_ITEM_DEFINE_UNARY_OP(~); + INT_ITEM_DEFINE_UNARY_OP(-) + INT_ITEM_DEFINE_UNARY_OP(~) - INT_ITEM_DEFINE_PREINCDEC(++); - INT_ITEM_DEFINE_PREINCDEC(--); + INT_ITEM_DEFINE_PREINCDEC(++) + INT_ITEM_DEFINE_PREINCDEC(--) // The set of workarounds, since currently we use ConstantInt implemented // integer. |