]> gcc.gnu.org Git - gcc.git/commit
ada: Deconstruct a no longer used parameter of New_Copy_Tree
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 8 Mar 2023 10:41:42 +0000 (11:41 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:18 +0000 (09:44 +0200)
commit50832e4a92988e3c3388fa24871cd960828ac3f7
tree1735744b2a16cddb3ebdac19128ab2eb3eaec1a2
parentd50e1383be73ef9cdc9f0d0813fa0e1208657789
ada: Deconstruct a no longer used parameter of New_Copy_Tree

Parameter Scopes_In_EWA_OK of New_Copy_Tree was introduced in 2018 to
deal with expressions-with-actions (EWA) in the build-in-place
machinery. However, after changes made in 2022 it is no longer used by
any caller.

Cleanup related to handling of expression functions in GNATprove;
semantics is unaffected.

gcc/ada/

* sem_util.ads (New_Copy_Tree): Remove Scopes_In_EWA_OK from spec;
adapt comment.
* sem_util.adb (New_Copy_Tree): Remove Scopes_In_EWA_OK from body;
adapt code.
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads
This page took 0.056763 seconds and 5 git commands to generate.