mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 12:51:15 +08:00
[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:
parent
25b4c873d1
commit
0429212682
@ -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: */
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user