aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constraint.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-02-04 00:22:41 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-11 08:53:21 +0000
commit046c166f3c3351788fcf6e1a9b235f3c808b1289 (patch)
treedddff7f18896577e3a9a82459bbe15350efce6fa /gcc/cp/constraint.cc
parentfe664d36500bae7cf4a28646e95c0838780bbd4a (diff)
downloadgcc-046c166f3c3351788fcf6e1a9b235f3c808b1289.zip
gcc-046c166f3c3351788fcf6e1a9b235f3c808b1289.tar.gz
gcc-046c166f3c3351788fcf6e1a9b235f3c808b1289.tar.bz2
[Ada] Fix Compile_Time_(Error|Warning) as non-configuration pragmas
Uses of Compile_Time_Error and Compile_Time_Warning as configuration pragmas were detected with a custom check in semantic analysis. Now they are detected with an existing general check in parser. gcc/ada/ * sem_prag.adb (Analyze_Pragma): Remove custom check for Compile_Time_Error and Compile_Time_Warning pragmas. * snames.ads-tmpl (Compile_Time_Error, Compile_Time_Warning): Move beyond Last_Configuration_Pragma_Name.
Diffstat (limited to 'gcc/cp/constraint.cc')
0 files changed, 0 insertions, 0 deletions