2018-10-09 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* repinfo.adb: Remove with/use clause for Stand.
(List_Mechanisms): List the mechanism of functions only.
From-SVN: r264965
+2018-10-09 Eric Botcazou <ebotcazou@adacore.com>
+
+ * repinfo.adb: Remove with/use clause for Stand.
+ (List_Mechanisms): List the mechanism of functions only.
+
2018-10-09 Bob Duff <duff@adacore.com>
* doc/gnat_ugn/gnat_utility_programs.rst: Correct spelling of
with Sinfo; use Sinfo;
with Sinput; use Sinput;
with Snames; use Snames;
-with Stand; use Stand;
with Stringt; use Stringt;
with Table;
with Uname; use Uname;
Write_Str (" ]");
end if;
- if Etype (Ent) /= Standard_Void_Type then
+ if Ekind (Ent) = E_Function then
if List_Representation_Info_To_JSON then
Write_Line (",");
Write_Str (" ""mechanism"": """);