]> gcc.gnu.org Git - gcc.git/commit
d: Define language hook for LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 27 Mar 2021 01:31:45 +0000 (02:31 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 28 Mar 2021 12:47:36 +0000 (14:47 +0200)
commit0907036f4541cfb51a626ef13c282f7be2098add
treedd88de4608d0e62ae4570af34b2fa7c2f64d6993
parentd3ae0f515d0c675d42f4f18fc267e8e75f6b6f26
d: Define language hook for LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE

The underlying base type for enumerals are always present in TREE_TYPE.

gcc/d/ChangeLog:

* d-lang.cc (d_enum_underlying_base_type): New function.
(LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): Set as
d_enum_underlying_base_type.
gcc/d/d-lang.cc
This page took 0.063616 seconds and 6 git commands to generate.