]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Cleanup definition of Might_Have_Tasks
authorJavier Miranda <miranda@adacore.com>
Wed, 24 Jun 2020 19:57:36 +0000 (15:57 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 15 Oct 2020 09:39:13 +0000 (05:39 -0400)
commit952604032ac5a2804d0f36de7e329902f0340a8e
treeeff8ac54e3613b185ab0dd8e43bdcbe6d817de51
parent8861bdd59a95b32ad6000157418c808317421bfe
[Ada] Cleanup definition of Might_Have_Tasks

gcc/ada/

* exp_ch6.ads (Might_Have_Tasks): Update documentation.
* exp_ch6.adb (Might_Have_Tasks): Return also true when the type
has tasks.
(Make_Build_In_Place_Call_In_Allocator): Code cleanup.
* exp_ch3.adb (Ensure_Activation_Chain_And_Master,
Expand_N_Full_Type_Declaration, Expand_N_Object_Declaration):
Code cleanup.
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch6.ads