summaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/dump-expr.cpp
AgeCommit message (Collapse)Author
2025-11-05[flang] Adding NOTIFY specifier in image selector and add notify type checks ↵Jean-Didier PAILLEUX
(#148810) This PR adds support for the NOTIFY specifier in the image selector as described in the 2023 standard, and add checks for the NOTIFY_TYPE type.
2025-06-18[flang] Show types in DumpEvExpr (#143743)Krzysztof Parzyszek
When dumping evaluate::Expr, show type names which contain a lot of useful information. For example show ``` expr <Fortran::evaluate::SomeType> { expr <Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>> { expr <Fortran::evaluate::Type<Fortran::common::TypeCategory::Integer, 4>> { ... ``` instead of ``` expr T { expr T { expr T { ... ```
2025-05-12[flang] Revamp evaluate::CoarrayRef (#136628)Peter Klausler
Bring the typed expression representation of a coindexed reference up to F'2023, which removed some restrictions that had allowed the current representation to suffice for older revisions of the language. This new representation is somewhat more simple -- it uses a DataRef as its base, so any subscripts in a part-ref can be represented as an ArrayRef there. Update the code that creates the CoarrayRef, and add more checking to it, as well as actually capturing any STAT=, TEAM=, & TEAM_NUMBER= specifiers that might appear. Enforce the constraint that the part-ref must have subscripts if it is an array. (And update a pile of copied-and-pasted test code that lacked such subscripts.)
2025-03-03[flang] Move DumpEvaluateExpr from Lower to Semantics (#128723)Krzysztof Parzyszek
Since evaluate::Expr can show up in the parse tree in the semantic analysis step, make it possible to dump its structure in the Semantics module. The Lower module depends on Semantics, so the code is still accessible in it.