/src/wrappers/llvm/library/types/llvm_label_type.e

http://github.com/tybor/Liberty · Specman e · 38 lines · 16 code · 7 blank · 15 comment · 0 complexity · 2edcfebc9ac0b3331f7e31f2b10e5d2d MD5 · raw file

  1. class LLVM_LABEL_TYPE
  2. inherit LLVM_TYPE
  3. create {ANY} make, in_context
  4. create {WRAPPER, WRAPPER_HANDLER} from_external_pointer
  5. feature {ANY} -- Creation
  6. make
  7. do
  8. handle:=llvmlabel_type
  9. end
  10. in_context (a_context: LLVM_CONTEXT)
  11. require a_context/=Void
  12. do
  13. handle:=llvmlabel_type_in_context(a_context.handle)
  14. end
  15. invariant type_kind.is_label_type_kind
  16. end -- class LLVM_LABEL_TYPE
  17. -- Copyright (C) 2009-2017: Paolo Redaelli
  18. -- This file is part of LLVM wrappers for Liberty Eiffel.
  19. --
  20. -- This library is free software: you can redistribute it and/or modify
  21. -- it under the terms of the GNU Lesser General Public License as published by
  22. -- the Free Software Foundation, version 3 of the License.
  23. --
  24. -- Liberty Eiffel is distributed in the hope that it will be useful,
  25. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. -- GNU General Public License for more details.
  28. --
  29. -- You should have received a copy of the GNU General Public License
  30. -- along with Liberty Eiffel. If not, see <http://www.gnu.org/licenses/>.
  31. --