aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/contracts.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-10-06 11:58:45 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2020-11-24 05:16:04 -0500
commit3a6fa9a81bdbd5491204e68b2ad5a5d8516d56a1 (patch)
treefc14b46b614d49474e91dba2bc944564165e15ee /gcc/ada/contracts.adb
parent1b55b8d70f431e29131cc7ca5790490d95625bd0 (diff)
downloadgcc-3a6fa9a81bdbd5491204e68b2ad5a5d8516d56a1.zip
gcc-3a6fa9a81bdbd5491204e68b2ad5a5d8516d56a1.tar.gz
gcc-3a6fa9a81bdbd5491204e68b2ad5a5d8516d56a1.tar.bz2
[Ada] Cleanup expansion of attribute Constrained
gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference): Replace calls to Sloc with a local constant Loc; remove call to Analyze_And_Resolve and return, which is exactly what happens anyway (and other branches in the Constrained declare block appear to rely on analysis, resolution and returning happening in all cases). * sem_util.adb: Remove useless parens.
Diffstat (limited to 'gcc/ada/contracts.adb')
0 files changed, 0 insertions, 0 deletions