File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ package body Message_Kinds is
9797 package CWE_Id_Sets is new
9898 Ada.Containers.Ordered_Sets (Positive);
9999 Result : CWE_Id_Sets.Set;
100+ procedure Include_Corresponding_CWE
101+ (Kind : Message_Kinds.Message_Subkind);
100102
101103 procedure Include_Corresponding_CWE
102104 (Kind : Message_Kinds.Message_Subkind)
@@ -357,7 +359,7 @@ package body Message_Kinds is
357359 if Offset = 0 then
358360 -- exact match with power of 2
359361 return " " ;
360- elsif ( Offset < 0 ) xor Is_Negated then
362+ elsif Offset < 0 xor Is_Negated then
361363 -- Precede with '-'
362364 return ' -' & Image (abs (Offset));
363365 else
@@ -387,6 +389,9 @@ package body Message_Kinds is
387389 Head : String renames S (I .. J - 3 );
388390 -- All but last two digits of number
389391
392+ function Compute_Offset
393+ (Ref : Natural) return Integer;
394+
390395 function Compute_Offset
391396 (Ref : Natural) return Integer
392397 -- For a n bits integer boundary, Ref must be
You can’t perform that action at this time.
0 commit comments