This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check procedure pointer initializations; clean up ELEMENTAL
ClosedPublic

Authored by klausler on Aug 28 2023, 3:18 PM.

Details

Summary

Implements compatibility checking for initializers in procedure pointer
declarations. This work exposed some inconsistency in how ELEMENTAL
interfaces were handled and checked, from both unrestricted intrinsic
functions and others, and some refinements needed for function result
compatbility checking; these have also been ironed out. Some new
warnings are now emitted, and this affected a dozen or so tests.

Diff Detail

Event Timeline

klausler created this revision.Aug 28 2023, 3:18 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 28 2023, 3:18 PM
vdonaldson accepted this revision.Aug 28 2023, 4:27 PM
This revision is now accepted and ready to land.Aug 28 2023, 4:27 PM
klausler updated this revision to Diff 554310.Aug 29 2023, 7:04 AM

Try a different version of clang-format.

This revision was landed with ongoing or failed builds.Aug 29 2023, 3:08 PM
This revision was automatically updated to reflect the committed changes.