[llvm-commits] [llvm] r157814 - /llvm/trunk/include/llvm/Support/IntegersSubset.h
Stepan Dyatkovskiy
STPWORLD at narod.ru
Fri Jun 1 09:21:20 PDT 2012
Thanks :-)
-Stepan
01.06.2012, 19:40, "Benjamin Kramer" <benny.kra at googlemail.com>:
> Author: d0k
> Date: Fri Jun 1 10:40:53 2012
> New Revision: 157814
>
> URL: http://llvm.org/viewvc/llvm-project?rev=157814&view=rev
> Log:
> Remove noisy semicolons.
>
> Modified:
> llvm/trunk/include/llvm/Support/IntegersSubset.h
>
> Modified: llvm/trunk/include/llvm/Support/IntegersSubset.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IntegersSubset.h?rev=157814&r1=157813&r2=157814&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/IntegersSubset.h (original)
> +++ llvm/trunk/include/llvm/Support/IntegersSubset.h Fri Jun 1 10:40:53 2012
> @@ -105,30 +105,30 @@
> // /,/=,>>,>>= 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_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_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_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 @@
> 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.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list