diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-10-06 11:58:45 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-11-24 05:16:04 -0500 |
commit | 3a6fa9a81bdbd5491204e68b2ad5a5d8516d56a1 (patch) | |
tree | fc14b46b614d49474e91dba2bc944564165e15ee /gcc/ada/contracts.adb | |
parent | 1b55b8d70f431e29131cc7ca5790490d95625bd0 (diff) | |
download | gcc-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