aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-01-24 12:19:19 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-10 08:19:29 +0000
commitd5e6a22b54b0bfc78288c7ffb94ac6afad39ee7e (patch)
tree983bf8c482354cc9ad0377a0ba60126476dda2df /libiberty
parent45c4d9193dd33013522ff7e7f8f90f77d20cb7be (diff)
downloadgcc-d5e6a22b54b0bfc78288c7ffb94ac6afad39ee7e.zip
gcc-d5e6a22b54b0bfc78288c7ffb94ac6afad39ee7e.tar.gz
gcc-d5e6a22b54b0bfc78288c7ffb94ac6afad39ee7e.tar.bz2
[Ada] Simplify call to overloaded Earlier_In_Extended_Unit
We have two variants of Earlier_In_Extended_Unit that take either Node_Id or Source_Ptr values. The caller can simply use another variant and not explicitly convert parameters. Code cleanup; semantics is unaffected. gcc/ada/ * sem_warn.adb (Check_Unset_Reference): Use variant of Earlier_In_Extended_Unit that calls Sloc internally.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions