Commit 6f77df72 by Yannick Moy Committed by Arnaud Charlet

lib-xref-spark_specific.adb: Minor rewrite.

2017-09-11  Yannick Moy  <moy@adacore.com>

	* lib-xref-spark_specific.adb: Minor rewrite.

From-SVN: r251967
parent 6daeb156
......@@ -545,7 +545,7 @@ package body SPARK_Specific is
begin
return Present (E)
and then not Is_Generic_Unit (E)
and then (not Can_Be_Renamed or else Renamed_Entity (E) = Empty)
and then (not Can_Be_Renamed or else No (Renamed_Entity (E)))
and then Get_Scope_Num (E) /= No_Scope;
end Is_SPARK_Scope;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment