Commit c4ea2978 by Yannick Moy Committed by Pierre-Marie de Rodat

[Ada] Inline: rewrap comment

2018-07-16  Yannick Moy  <moy@adacore.com>

gcc/ada/

	* inline.adb (Has_Single_Return): Rewrap comment.

From-SVN: r262706
parent 3e752e1f
2018-07-16 Yannick Moy <moy@adacore.com>
* inline.adb (Has_Single_Return): Rewrap comment.
2018-07-16 Eric Botcazou <ebotcazou@adacore.com>
* einfo.ads: Minor tweak in comment.
......
......@@ -197,10 +197,10 @@ package body Inline is
function Has_Single_Return (N : Node_Id) return Boolean;
-- In general we cannot inline functions that return unconstrained type.
-- However, we can handle such functions if all return statements return a
-- local variable that is the only declaration in the body of the function.
-- In that case the call can be replaced by that local variable as is done
-- for other inlined calls.
-- However, we can handle such functions if all return statements return
-- a local variable that is the first declaration in the body of the
-- function. In that case the call can be replaced by that local
-- variable as is done for other inlined calls.
function In_Main_Unit_Or_Subunit (E : Entity_Id) return Boolean;
-- Return True if E is in the main unit or its spec or in a subunit
......
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