]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Relocate implementation of Set_Msg_Insertion_Column
authorViljar Indus <indus@adacore.com>
Tue, 12 Nov 2024 10:32:05 +0000 (12:32 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 26 Nov 2024 09:49:35 +0000 (10:49 +0100)
commit9b33f74c84ef5681ccb735209d95479a5ece7377
tree7d277c143137dc0a9ad25dbf9a56ee5e37940d7a
parent9fb54f47d0f5c149c94e86def16e538460ce3636
ada: Relocate implementation of Set_Msg_Insertion_Column

The implementation was duplicated in errout and errutil. Move
the implementation to erroutc where other similar commonly used
functions are.

gcc/ada/ChangeLog:

* errout.adb: Remove implemntation of Set_Msg_Insertion_Column.
* erroutc.adb: Add implementation of Set_Msg_Insertion_Column.
* erroutc.ads: Add spec of Set_Msg_Insertion_Column.
* errutil.adb: Remove implementation of Set_Msg_Insertion_Column.
gcc/ada/errout.adb
gcc/ada/erroutc.adb
gcc/ada/erroutc.ads
gcc/ada/errutil.adb