]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Small cleanup in C header file
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 4 Feb 2021 09:27:48 +0000 (10:27 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 May 2021 09:29:11 +0000 (05:29 -0400)
commit730c196aab01296486d21c90ffac2d9f6a338422
treef3a2e81b5ea212a38cbafeb18e89b3f405a3dc4a
parent76f9c7f44fffb0b03266730b137313fe79f1c99e
[Ada] Small cleanup in C header file

gcc/ada/

* atree.h (Parent): Remove duplicate declaration.
(Get_1_Bit_Field): Also use INLINE specifier in the declaration,
fix formatting and use gcc_unreachable for the default case.
(Get_2_Bit_Field): Likewise.
(Get_4_Bit_Field): Likewise.
(Get_8_Bit_Field): Likewise.
(Get_32_Bit_Field): Likewise.
(Get_32_Bit_Field_With_Default): Likewise.
gcc/ada/atree.h