[Ada] Small cleanup in interface with GCC back-end

gcc/ada/

	* fe.h (Is_OK_Static_Expression): Delete.
	* sem_eval.ads (Is_OK_Static_Expression): Remove WARNING note.
This commit is contained in:
Eric Botcazou 2020-06-08 21:21:39 +02:00 committed by Pierre-Marie de Rodat
parent 25b4c873d1
commit 0429212682
2 changed files with 0 additions and 4 deletions

View File

@ -280,10 +280,8 @@ extern Boolean Is_Derived_Type (Entity_Id);
/* sem_eval: */
#define Compile_Time_Known_Value sem_eval__compile_time_known_value
#define Is_OK_Static_Expression sem_eval__is_ok_static_expression
extern Boolean Compile_Time_Known_Value (Node_Id);
extern Boolean Is_OK_Static_Expression (Node_Id);
/* sem_util: */

View File

@ -427,8 +427,6 @@ package Sem_Eval is
-- for compile time evaluation purposes. Use Compile_Time_Known_Value
-- instead (see section on "Compile-Time Known Values" above).
-- WARNING: There is a matching C declaration of this subprogram in fe.h
function Is_OK_Static_Range (N : Node_Id) return Boolean;
-- Determines if range is static, as defined in RM 4.9(26), and also checks
-- that neither bound of the range raises constraint error, thus ensuring