/src/wrappers/llvm/library/values/llvm_overflowing_binary_operator.e

http://github.com/tybor/Liberty · Specman e · 25 lines · 3 code · 4 blank · 18 comment · 0 complexity · ba281ba8f7ccddc57ee8b69270b6e278 MD5 · raw file

  1. deferred class LLVM_OVERFLOWING_BINARY_OPERATOR
  2. -- Common anchestor of integer arithmetic operators which may overflow:
  3. -- addition, subtraction and multiplication. The SDiv instruction is not
  4. -- included althought it may overflow.
  5. inherit LLVM_OPERATOR
  6. end -- class LLVM_OVERFLOWING_BINARY_OPERATOR
  7. -- Copyright (C) 2009-2017: Paolo Redaelli
  8. -- This file is part of LLVM wrappers for Liberty Eiffel.
  9. --
  10. -- This library is free software: you can redistribute it and/or modify
  11. -- it under the terms of the GNU Lesser General Public License as published by
  12. -- the Free Software Foundation, version 3 of the License.
  13. --
  14. -- Liberty Eiffel is distributed in the hope that it will be useful,
  15. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. -- GNU General Public License for more details.
  18. --
  19. -- You should have received a copy of the GNU General Public License
  20. -- along with Liberty Eiffel. If not, see <http://www.gnu.org/licenses/>.
  21. --