2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. index:: GIMPLE_CATCH
11 .. function:: gcatch *gimple_build_catch (tree types, gimple_seq handler)
13 Build a ``GIMPLE_CATCH`` statement. ``TYPES`` are the tree types this
14 catch handles. ``HANDLER`` is a sequence of statements with the code
17 .. function:: tree gimple_catch_types (const gcatch *g)
19 Return the types handled by ``GIMPLE_CATCH`` statement ``G``.
21 .. function:: tree * gimple_catch_types_ptr (gcatch *g)
23 Return a pointer to the types handled by ``GIMPLE_CATCH`` statement
26 .. function:: gimple_seq gimple_catch_handler (gcatch *g)
28 Return the GIMPLE sequence representing the body of the handler
29 of ``GIMPLE_CATCH`` statement ``G``.
31 .. function:: void gimple_catch_set_types (gcatch *g, tree t)
33 Set ``T`` to be the set of types handled by ``GIMPLE_CATCH`` ``G``.
35 .. function:: void gimple_catch_set_handler (gcatch *g, gimple_seq handler)
37 Set ``HANDLER`` to be the body of ``GIMPLE_CATCH`` ``G``.