aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-10-31 15:50:46 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-26 10:49:35 +0100
commit9a0914232665c3215f5274f52ea6ddf654df4976 (patch)
tree5f7ccd322201555f1c77bd8e6c320f39db89e727 /gcc/fortran/trans-expr.cc
parent20e7dfa9fb7db0cd45ad80d8e0592bd1fc7caad0 (diff)
downloadgcc-9a0914232665c3215f5274f52ea6ddf654df4976.zip
gcc-9a0914232665c3215f5274f52ea6ddf654df4976.tar.gz
gcc-9a0914232665c3215f5274f52ea6ddf654df4976.tar.bz2
ada: Store error message kind as an enum
Simplify the storage for the kind of error message under a single enumerator. This replaces the existing attributes with the following enumeration values. * Is_Warning_Msg => Warning * Is_Style_Msg => Style * Is_Info_Msg => Info * Is_Check_Msg => Low_Check, Medium_Check, High_Check * Is_Serious_Error => Error, if the attribute was false then Non_Serious_Error. gcc/ada/ChangeLog: * diagnostics-converter.adb: Use new enum values instead of the old attributes. * diagnostics-switch_repository.adb: Same as above. * diagnostics-utils.adb: Same as above. * diagnostics.adb: Same as above. * diagnostics.ads: Same as above. * errout.adb: Same as above. * erroutc.adb: Same as above. * erroutc.ads: Remove old attriubtes and replace them with Error_Msg_Kind. * errutil.adb: Same as others.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions