[flang-commits] [PATCH] D95011: [flang] Infrastructure improvements in utility routines
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jan 19 17:16:57 PST 2021
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
- IsArrayElement() needs another option to control whether it should ignore trailing component references.
- Add IsObjectPointer().
- Add const Scope& variants of IsFunction() and IsProcedure().
- Make TypeAndShape::Characterize() work with procedure bindings.
- Handle CHARACTER length in MeasureSizeInBytes().
- Fine-tune FindExternallyVisibleObject()'s handling of dummy arguments to conform with Fortran 2018: only INTENT(IN) and dummy pointers in pure functions signify; update two tests accordingly.
Also: resolve some stylistic inconsistencies and add a missing
"const" in the expression traversal template framework.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95011
Files:
flang/include/flang/Evaluate/call.h
flang/include/flang/Evaluate/tools.h
flang/include/flang/Evaluate/traverse.h
flang/lib/Evaluate/characteristics.cpp
flang/lib/Evaluate/tools.cpp
flang/lib/Semantics/tools.cpp
flang/test/Semantics/structconst03.f90
flang/test/Semantics/structconst04.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95011.317730.patch
Type: text/x-patch
Size: 12607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210120/385d54af/attachment.bin>
More information about the flang-commits
mailing list