aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.adb
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2020-08-24 14:17:36 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-23 04:24:42 -0400
commit01364aeb56648c50a59027a290e9b72156bfc427 (patch)
treeaf425070a70128dd360bc0d03bf6a99990a25a02 /gcc/ada/sinfo.adb
parent4d4ba374a73b226dc16af7190c688728f3e5d2c5 (diff)
downloadgcc-01364aeb56648c50a59027a290e9b72156bfc427.zip
gcc-01364aeb56648c50a59027a290e9b72156bfc427.tar.gz
gcc-01364aeb56648c50a59027a290e9b72156bfc427.tar.bz2
[Ada] Iterative patch for accessibility cleanup
gcc/ada/ * sem_util.adb (Accessibility_Call_Helper): In the selected component case, test if a prefix is a function call and whether the subprogram call is not being used in its entirety and use the Innermost_Master_Scope_Depth in that case. (Innermost_Master_Scope_Depth): Test against the node_par instead of its identifier to avoid misattributing unnamed blocks as not being from source. (Function_Call_Level): Add calculation for whether a subprogram call is initializing an object in its entirety. (Subprogram_Call_Level): Renamed to Function_Call_Level.
Diffstat (limited to 'gcc/ada/sinfo.adb')
0 files changed, 0 insertions, 0 deletions