TNO/Renaissance-Ada

Add Has_Side_Effect function for place holders

pjljvandelaar opened this issue · 1 comments

We need a function to determine whether a place holder (which points to an expression)
has a side effect.

We can start with a simple version that
states that a function call always has a side effect,
reading constants and variable has not side effect,
and operators have a side effect when one of there arguments has a side effect.

Closed by
15bdc08

Note: some improvements are still possible