diff options
author | Tom Tromey <tromey@adacore.com> | 2023-06-29 09:56:59 -0600 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-07-18 15:11:48 +0200 |
commit | 054e93b8757a2d619a528f7dd1b8580cce13c713 (patch) | |
tree | eb02d36b7e6b88ca805126af3f6ac43c7d59edeb /gcc/cp | |
parent | 99b45bbea4dbeb07e0fbc916be28ad006e0f83a7 (diff) | |
download | gcc-054e93b8757a2d619a528f7dd1b8580cce13c713.zip gcc-054e93b8757a2d619a528f7dd1b8580cce13c713.tar.gz gcc-054e93b8757a2d619a528f7dd1b8580cce13c713.tar.bz2 |
ada: Use new typedefs in gcc-interface
This changes gcc-interface to use the typedefs that were recently
introduced in gnat. This is another step toward switching the code
generator to emit enums rather than preprocessor defines.
In a couple of spots, a 'default' case is also added. These avoid
warnings from -Wswitch when the typedefs are changed to be enums.
gcc/ada/
* gcc-interface/decl.cc (check_ok_for_atomic_type): Use Pragma_Id.
* gcc-interface/trans.cc (lvalue_required_p, Pragma_to_gnu): Use
Pragma_Id.
(get_type_length, Attribute_to_gnu, get_atomic_access): Use
Attribute_Id.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions