blob: 973d176f56f29515d20f11bf83f64a7518daeec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- D I A G N O S T I C S . C O N S T R U C T O R S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2024, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Namet; use Namet;
package Diagnostics.Constructors is
function Make_Default_Iterator_Not_Primitive_Error
(Expr : Node_Id;
Subp : Entity_Id) return Diagnostic_Type;
procedure Record_Default_Iterator_Not_Primitive_Error
(Expr : Node_Id;
Subp : Entity_Id);
function Make_Invalid_Operand_Types_For_Operator_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id);
function Make_Invalid_Operand_Types_For_Operator_L_Int_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_L_Int_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id);
function Make_Invalid_Operand_Types_For_Operator_R_Int_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_R_Int_Error
(Op : Node_Id;
L : Node_Id;
L_Type : Node_Id;
R : Node_Id;
R_Type : Node_Id);
function Make_Invalid_Operand_Types_For_Operator_L_Acc_Error
(Op : Node_Id;
L : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_L_Acc_Error
(Op : Node_Id;
L : Node_Id);
function Make_Invalid_Operand_Types_For_Operator_R_Acc_Error
(Op : Node_Id;
R : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_R_Acc_Error
(Op : Node_Id;
R : Node_Id);
function Make_Invalid_Operand_Types_For_Operator_General_Error
(Op : Node_Id) return Diagnostic_Type;
procedure Record_Invalid_Operand_Types_For_Operator_General_Error
(Op : Node_Id);
function Make_Pragma_No_Effect_With_Lock_Free_Warning
(Pragma_Node : Node_Id;
Pragma_Name : Name_Id;
Lock_Free_Node : Node_Id;
Lock_Free_Range : Node_Id)
return Diagnostic_Type;
procedure Record_Pragma_No_Effect_With_Lock_Free_Warning
(Pragma_Node : Node_Id;
Pragma_Name : Name_Id;
Lock_Free_Node : Node_Id;
Lock_Free_Range : Node_Id);
function Make_End_Loop_Expected_Error
(End_Loc : Source_Span;
Start_Loc : Source_Ptr) return Diagnostic_Type;
procedure Record_End_Loop_Expected_Error
(End_Loc : Source_Span;
Start_Loc : Source_Ptr);
function Make_Representation_Too_Late_Error
(Rep : Node_Id;
Freeze : Node_Id;
Def : Node_Id)
return Diagnostic_Type;
procedure Record_Representation_Too_Late_Error
(Rep : Node_Id;
Freeze : Node_Id;
Def : Node_Id);
function Make_Mixed_Container_Aggregate_Error
(Aggr : Node_Id;
Pos_Elem : Node_Id;
Named_Elem : Node_Id) return Diagnostic_Type;
procedure Record_Mixed_Container_Aggregate_Error
(Aggr : Node_Id;
Pos_Elem : Node_Id;
Named_Elem : Node_Id);
end Diagnostics.Constructors;
|