diff options
author | Viljar Indus <indus@adacore.com> | 2024-11-11 10:19:21 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-26 10:49:35 +0100 |
commit | 8d0bb808f632eea52548df59e36c1b479c64c45b (patch) | |
tree | caec91850b73bb11982c7151cd12b509c85870e6 /gcc/fortran/trans-expr.cc | |
parent | ba0c6d0e4ea01afa3ad8740fce6d77e009b1ccbf (diff) | |
download | gcc-8d0bb808f632eea52548df59e36c1b479c64c45b.zip gcc-8d0bb808f632eea52548df59e36c1b479c64c45b.tar.gz gcc-8d0bb808f632eea52548df59e36c1b479c64c45b.tar.bz2 |
ada: Refactor checking redundant messages
Move common code between errout and errutil into a single function.
gcc/ada/ChangeLog:
* errout.adb: Use Is_Redundant_Error_Message.
* erroutc.adb: Move the common code for checking if a message
can be removed to Is_Redundant_Error_Message.
* erroutc.ads: Add definition of Is_Redundant_Error_Message.
* errutil.adb: Use Is_Redundant_Error_Message.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions