diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-02-04 00:22:41 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-11 08:53:21 +0000 |
commit | 046c166f3c3351788fcf6e1a9b235f3c808b1289 (patch) | |
tree | dddff7f18896577e3a9a82459bbe15350efce6fa /gcc/cp/constraint.cc | |
parent | fe664d36500bae7cf4a28646e95c0838780bbd4a (diff) | |
download | gcc-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