aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2021-09-05 11:22:52 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2021-10-04 08:45:12 +0000
commit6a53553086657d6b4668f0c3a2030ec1f63447d0 (patch)
tree2658a1092bd1d06c52e095a9d8e679ccfb49517c /gcc/expr.c
parent861dc87d7513f920365f0cf52be7406ca06711cf (diff)
downloadgcc-6a53553086657d6b4668f0c3a2030ec1f63447d0.zip
gcc-6a53553086657d6b4668f0c3a2030ec1f63447d0.tar.gz
gcc-6a53553086657d6b4668f0c3a2030ec1f63447d0.tar.bz2
[Ada] Handle properly user_defined literals given by operators.
gcc/ada/ * sem_ch6.adb (Analyze_Operator_Symbol): Recognize strings as operator names when they are the value of one of the Ada2022 aspects for User_Defined_Literals. * sem_ch13.adb (Analyze_One_Aspect): Handle an aspect value given by an Operator_Name. (Validate_Literal_Aspect): Call Analyze_Operator_Symbol when needed.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions