diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-12-23 10:05:47 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-10 10:39:56 +0100 |
commit | c43a53307d2e26663e9a2aca39672aea39c25e7b (patch) | |
tree | 687dd0ebf8c36edeeea02b4d4a5fb6bcb1e2f5e4 /gcc/c/c-parser.cc | |
parent | 8c850ddf0f2648e9be6067bb76cc2322c1a8b6a5 (diff) | |
download | gcc-c43a53307d2e26663e9a2aca39672aea39c25e7b.zip gcc-c43a53307d2e26663e9a2aca39672aea39c25e7b.tar.gz gcc-c43a53307d2e26663e9a2aca39672aea39c25e7b.tar.bz2 |
ada: Set syntactic node properties immediately when crating the nodes
When creating a node, we can directly set its syntactic properties.
Code cleanup; semantics is unaffected.
gcc/ada/ChangeLog:
* contracts.adb (Build_Call_Helper_Decl): Tune whitespace.
* exp_attr.adb (Analyze_Attribute): Set Of_Present while
creating the node; reorder setting Subtype_Indication to match the
syntax order.
* exp_ch3.adb (Build_Equivalent_Aggregate): Likewise for Box_Present
and Expression properties.
* sem_ch12.adb (Analyze_Formal_Derived_Type): Set type properties
when creating the nodes.
* sem_ch3.adb (Check_Anonymous_Access_Component): Likewise.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions