diff options
author | Dmitriy Anisimkov <anisimko@adacore.com> | 2020-01-23 15:05:58 +0600 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-05 08:17:50 -0400 |
commit | f8ca4dd657f767c5f7da335462a5150ced368697 (patch) | |
tree | 1cfdc77e150b2c8e5c15aacc18b9cbcacf4fa06e /gcc/gimple-expr.c | |
parent | c8e89a6de5d926701e0a68dba5ace9f27c33725a (diff) | |
download | gcc-f8ca4dd657f767c5f7da335462a5150ced368697.zip gcc-f8ca4dd657f767c5f7da335462a5150ced368697.tar.gz gcc-f8ca4dd657f767c5f7da335462a5150ced368697.tar.bz2 |
[Ada] Optimize Normalize_Pathname
2020-06-05 Dmitriy Anisimkov <anisimko@adacore.com>
gcc/ada/
* libgnat/s-os_lib.adb (Is_Dirsep): Moved from Build_Path to
package level to reuse.
(Normalize_Pathname.Final_Value): Reduce 2 'if' statements to
one.
(Normalize_Pathname.Fill_Directory): New procedure instead of
function Get_Directory. Remove slash to backslash conversion and
drive letter uppercasing on Windows.
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions