diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-05-12 12:02:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-12 12:02:15 -0700 |
commit | 9f8ff4b77d07570294a020c24bc347285c3affdc (patch) | |
tree | e0c65ce4cb154a1714dd01bf546f1641ea839cd2 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 4086d5ff74729e655c3b29479845c35c971541d9 (diff) | |
download | llvm-9f8ff4b77d07570294a020c24bc347285c3affdc.zip llvm-9f8ff4b77d07570294a020c24bc347285c3affdc.tar.gz llvm-9f8ff4b77d07570294a020c24bc347285c3affdc.tar.bz2 |
[flang] Revamp evaluate::CoarrayRef (#136628)
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.)
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions