]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Add typedefs to snames.h-tmpl
authorTom Tromey <tromey@adacore.com>
Thu, 29 Jun 2023 14:52:59 +0000 (08:52 -0600)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 10 Jul 2023 12:41:40 +0000 (14:41 +0200)
commitf068a49d95001971e39ab68835e525bb78c65b80
tree0381b655f887e2b7e50a5791db08b6bc41e018ff
parentbcc2c7fa6ed8b7dbb0e3ba11e40958f1b99b83d0
ada: Add typedefs to snames.h-tmpl

A future patch will change sname.h-tmpl to use enums rather than
preprocessor defines.  In order to do this, first introduce some
typedefs that can be used in gcc-interface.

gcc/ada/

* snames.h-tmpl (Name_Id, Attribute_Id, Convention_Id)
(Pragma_Id): New typedefs.
(Get_Attribute_Id, Get_Pragma_Id): Use typedef.
gcc/ada/snames.h-tmpl