jeanPerier 38763be6ab
[flang] Do not traverse selectors in FindImpureCall and HasVectorSubscript (#84041)
In presence of symbols with AssocEntityDetails in an expression,
`Traverse`, `AnyTraverse`, `AllTraverse`, and `SetTraverse`
automatically visit the selector expression or variable.

This is most often the desired behavior but can be surprising, and was
not correct for FindImpureCall and HasVectorSubscript.

Add a default template option to flag the behavior to someone willing to
use the Traverse helper for a new utility, and set this template to
false for FindImpureCall and HasVectorSubscript.
2024-03-06 14:29:27 +01:00
..
2022-10-29 14:08:44 -07:00
2023-05-16 13:56:24 -07:00
2023-05-16 13:56:24 -07:00
2023-05-16 13:56:24 -07:00
2023-02-14 10:04:56 -03:00
2022-07-13 15:34:48 -07:00