aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-11-12 16:09:13 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-26 10:49:34 +0100
commitbd0b9886f17d9dc13de8f533f1239016d1198ea8 (patch)
treeee6f455d8c0ddf4d2aca0ca60cf2492425afe214 /gcc/fortran/trans-expr.cc
parent222da6bd24838c700ef72648da2956bade588b47 (diff)
downloadgcc-bd0b9886f17d9dc13de8f533f1239016d1198ea8.zip
gcc-bd0b9886f17d9dc13de8f533f1239016d1198ea8.tar.gz
gcc-bd0b9886f17d9dc13de8f533f1239016d1198ea8.tar.bz2
ada: Change specifications of Uname subprograms
The old specifications were ambiguous as to whether they expected actuals to have %s/%b suffixes. The new specifications also increases modularity across the board. gcc/ada/ChangeLog: * uname.ads (Is_Internal_Unit_Name, Is_Predefined_Unit_Name): Change specifications to take a Unit_Name_Type as input. (Encoded_Library_Unit_Name): New subprogram. (Is_Predefined_Unit_Name): New overloaded subprogram. (Get_External_Unit_Name_String): Make use of new Encoded_Library_Unit_Name subprogram. * uname.adb (Is_Internal_Unit_Name, Is_Predefined_Unit_Name): Adapt bodies to specification changes. * fname-uf.adb (Get_File_Name): Adapt to Uname interface changes.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions