This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enforce specification function rules on callee, not call
ClosedPublic

Authored by klausler on Sep 16 2021, 3:00 PM.

Details

Summary

A function can't be a specification function if it has a dummy procedure
argument, even if it's optional and unused. So don't check the reference
for actual procedure arguments, but rather the characteristics of the
function.

Diff Detail

Event Timeline

klausler created this revision.Sep 16 2021, 3:00 PM
klausler requested review of this revision.Sep 16 2021, 3:00 PM
PeteSteinfeld accepted this revision.Sep 16 2021, 3:08 PM

Looks great!

This revision is now accepted and ready to land.Sep 16 2021, 3:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 11:17 AM