diff options
author | Julien Bortolussi <bortolussi@adacore.com> | 2022-05-19 15:49:03 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-07-12 12:24:10 +0000 |
commit | 829b5a6075e63e84600b0eee5daebb3fab9aa491 (patch) | |
tree | ad1991735576def5549aaabde62d2b2ed1a656aa /gcc/ada/ali-util.adb | |
parent | 474946c61a5dd5335ced09d52a95d1e3d90d1455 (diff) | |
download | gcc-829b5a6075e63e84600b0eee5daebb3fab9aa491.zip gcc-829b5a6075e63e84600b0eee5daebb3fab9aa491.tar.gz gcc-829b5a6075e63e84600b0eee5daebb3fab9aa491.tar.bz2 |
[Ada] Add new unbounded and indefinite formal doubly linked list
Before this patch, the only formal doubly linked lists were bounded and
definite. This means that it is necessary to provide their maximum
length or capacity at instantiation and that they can only be used with
definite element types.
The formal lists added by this patch are unbounded and indefinite.
Their length grows dynamically until Count_Type'Last. This makes them
easier to use but requires the use of dynamic allocation and controlled
types.
gcc/ada/
* libgnat/a-cfidll.adb, libgnat/a-cfidll.ads: Implementation
files of the formal unbounded indefinite list.
* Makefile.rtl, impunit.adb: Take into account the add of the
new files.
Diffstat (limited to 'gcc/ada/ali-util.adb')
0 files changed, 0 insertions, 0 deletions